mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Linted
This commit is contained in:
parent
0fab22082a
commit
381a60695d
@ -125,8 +125,7 @@ EthereumStore.prototype._updateTransaction = function(block, txHash, cb) {
|
|||||||
var transactionsState = self._currentState.transactions
|
var transactionsState = self._currentState.transactions
|
||||||
self._query.getTransaction(txHash, function (err, result) {
|
self._query.getTransaction(txHash, function (err, result) {
|
||||||
if (err) return cb(err)
|
if (err) return cb(err)
|
||||||
// only populate if the entry is still present
|
// only populate if the entry is still present if (transactionsState[txHash]) {
|
||||||
if (transactionsState[txHash]) {
|
|
||||||
transactionsState[txHash] = result
|
transactionsState[txHash] = result
|
||||||
self._didUpdate()
|
self._didUpdate()
|
||||||
}
|
}
|
||||||
@ -134,8 +133,4 @@ EthereumStore.prototype._updateTransaction = function(block, txHash, cb) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
function valuesFor(obj){
|
|
||||||
return Object.keys(obj).map(function(key){ return obj[key] })
|
|
||||||
}
|
|
||||||
|
|
||||||
function noop() {}
|
function noop() {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user