Caught typo

feature/default_network_editable
Dan Finlay 8 years ago
parent 18e6d266c1
commit a107b66854
  1. 3
      app/scripts/lib/eth-store.js

@ -134,7 +134,8 @@ 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 if (transactionsState[txHash]) { // only populate if the entry is still present
if (transactionsState[txHash]) {
transactionsState[txHash] = result transactionsState[txHash] = result
self._didUpdate() self._didUpdate()
} }

Loading…
Cancel
Save