aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-02-04 08:07:58 +0800
committerkumavis <aaron@kumavis.me>2017-02-04 08:07:58 +0800
commitbc4efa18072997fea7f20051171f11a36cf006c8 (patch)
treee5720dbb5f9061112afaffad4ff71f853a9d19c3
parente1719191f488ab1d842a5e55ddd9f70038329f09 (diff)
downloadtangerine-wallet-browser-bc4efa18072997fea7f20051171f11a36cf006c8.tar.gz
tangerine-wallet-browser-bc4efa18072997fea7f20051171f11a36cf006c8.tar.zst
tangerine-wallet-browser-bc4efa18072997fea7f20051171f11a36cf006c8.zip
eth-store - update store state after manipulating
-rw-r--r--app/scripts/lib/eth-store.js2
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)
})