mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Caught typo
This commit is contained in:
parent
18e6d266c1
commit
a107b66854
@ -79,7 +79,7 @@ EthereumStore.prototype._didUpdate = function () {
|
||||
|
||||
EthereumStore.prototype._updateForBlock = function (block) {
|
||||
const self = this
|
||||
var blockNumber = '0x'+block.number.toString('hex')
|
||||
var blockNumber = '0x' + block.number.toString('hex')
|
||||
self.currentBlockNumber = blockNumber
|
||||
async.parallel([
|
||||
self._updateAccounts.bind(self),
|
||||
@ -134,7 +134,8 @@ EthereumStore.prototype._updateTransaction = function (block, txHash, cb) {
|
||||
var transactionsState = self._currentState.transactions
|
||||
self._query.getTransaction(txHash, function (err, result) {
|
||||
if (err) return cb(err)
|
||||
// only populate if the entry is still present if (transactionsState[txHash]) {
|
||||
// only populate if the entry is still present
|
||||
if (transactionsState[txHash]) {
|
||||
transactionsState[txHash] = result
|
||||
self._didUpdate()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user