diff options
eth-store - update store state after manipulating
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/lib/eth-store.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/scripts/lib/eth-store.js b/app/scripts/lib/eth-store.js index 773c81d1b..8812a507b 100644 --- a/app/scripts/lib/eth-store.js +++ b/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) }) |