diff options
author | kumavis <aaron@kumavis.me> | 2017-02-04 08:07:58 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2017-02-04 08:07:58 +0800 |
commit | bc4efa18072997fea7f20051171f11a36cf006c8 (patch) | |
tree | e5720dbb5f9061112afaffad4ff71f853a9d19c3 /app/scripts/lib/eth-store.js | |
parent | e1719191f488ab1d842a5e55ddd9f70038329f09 (diff) | |
download | tangerine-wallet-browser-bc4efa18072997fea7f20051171f11a36cf006c8.tar.gz tangerine-wallet-browser-bc4efa18072997fea7f20051171f11a36cf006c8.tar.zst tangerine-wallet-browser-bc4efa18072997fea7f20051171f11a36cf006c8.zip |
eth-store - update store state after manipulating
Diffstat (limited to 'app/scripts/lib/eth-store.js')
-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) }) |