diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-02-04 08:17:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-04 08:17:04 +0800 |
commit | 24ff38e97386eafe0cd9c8e4e77dbed856b2464e (patch) | |
tree | e5720dbb5f9061112afaffad4ff71f853a9d19c3 | |
parent | eb08a4f41f3fc341bfd3eaf8fafe9309129e97e4 (diff) | |
parent | bc4efa18072997fea7f20051171f11a36cf006c8 (diff) | |
download | tangerine-wallet-browser-24ff38e97386eafe0cd9c8e4e77dbed856b2464e.tar tangerine-wallet-browser-24ff38e97386eafe0cd9c8e4e77dbed856b2464e.tar.gz tangerine-wallet-browser-24ff38e97386eafe0cd9c8e4e77dbed856b2464e.tar.bz2 tangerine-wallet-browser-24ff38e97386eafe0cd9c8e4e77dbed856b2464e.tar.lz tangerine-wallet-browser-24ff38e97386eafe0cd9c8e4e77dbed856b2464e.tar.xz tangerine-wallet-browser-24ff38e97386eafe0cd9c8e4e77dbed856b2464e.tar.zst tangerine-wallet-browser-24ff38e97386eafe0cd9c8e4e77dbed856b2464e.zip |
Merge pull request #1087 from MetaMask/kumavis-refactor7
bugfix - eth-store - update store state after manipulating
-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) }) |