eth-store - update store state after manipulating

feature/default_network_editable
kumavis 8 years ago
parent e1719191f4
commit bc4efa1807
  1. 2
      app/scripts/lib/eth-store.js

@ -92,6 +92,7 @@ class EthereumStore extends ObservableStore {
// only populate if the entry is still present
if (accounts[address]) {
accounts[address] = result
this.updateState({ accounts })
}
cb(null, result)
})
@ -111,6 +112,7 @@ class EthereumStore extends ObservableStore {
// only populate if the entry is still present
if (transactions[txHash]) {
transactions[txHash] = result
this.updateState({ transactions })
}
cb(null, result)
})

Loading…
Cancel
Save