diff options
author | kumavis <aaron@kumavis.me> | 2017-01-15 13:46:40 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2017-01-15 13:46:40 +0800 |
commit | ef81bde98b85a3add8a5e5681f8c9515567c97ea (patch) | |
tree | 8cc5d1ee12acd3ff00a13a2f3a19550666ccc9ea | |
parent | f49fb149ccae56f5522a892778d83360856fe880 (diff) | |
download | tangerine-wallet-browser-ef81bde98b85a3add8a5e5681f8c9515567c97ea.tar.gz tangerine-wallet-browser-ef81bde98b85a3add8a5e5681f8c9515567c97ea.tar.zst tangerine-wallet-browser-ef81bde98b85a3add8a5e5681f8c9515567c97ea.zip |
eth-store - emit update on new account add
-rw-r--r-- | app/scripts/lib/eth-store.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/scripts/lib/eth-store.js b/app/scripts/lib/eth-store.js index a42b2417f..7e2caf884 100644 --- a/app/scripts/lib/eth-store.js +++ b/app/scripts/lib/eth-store.js @@ -43,7 +43,9 @@ EthereumStore.prototype.addAccount = function (address) { self._currentState.accounts[address] = {} self._didUpdate() if (!self.currentBlockNumber) return - self._updateAccount(address, noop) + self._updateAccount(address, () => { + self._didUpdate() + }) } EthereumStore.prototype.removeAccount = function (address) { |