aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/eth-store.js
diff options
context:
space:
mode:
authorDan Finlay <flyswatter@users.noreply.github.com>2017-01-18 04:08:47 +0800
committerGitHub <noreply@github.com>2017-01-18 04:08:47 +0800
commitc53932a19a77516110a45d7b201b85dc6ea71a47 (patch)
tree4b53230af166215f932b0d5c3ac17888946c85ca /app/scripts/lib/eth-store.js
parent79040c2e681012c98869b7e4d49a9e0ed406c52f (diff)
parenta245fb7d22a5fe08c4fc8c2c1c64d406805018a8 (diff)
downloadtangerine-wallet-browser-c53932a19a77516110a45d7b201b85dc6ea71a47.tar
tangerine-wallet-browser-c53932a19a77516110a45d7b201b85dc6ea71a47.tar.gz
tangerine-wallet-browser-c53932a19a77516110a45d7b201b85dc6ea71a47.tar.bz2
tangerine-wallet-browser-c53932a19a77516110a45d7b201b85dc6ea71a47.tar.lz
tangerine-wallet-browser-c53932a19a77516110a45d7b201b85dc6ea71a47.tar.xz
tangerine-wallet-browser-c53932a19a77516110a45d7b201b85dc6ea71a47.tar.zst
tangerine-wallet-browser-c53932a19a77516110a45d7b201b85dc6ea71a47.zip
Merge branch 'dev' into conversion-api-err
Diffstat (limited to 'app/scripts/lib/eth-store.js')
-rw-r--r--app/scripts/lib/eth-store.js4
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) {