diff options
author | Thomas Huang <thomas.b.huang@gmail.com> | 2018-02-21 09:49:31 +0800 |
---|---|---|
committer | Thomas Huang <thomas.b.huang@gmail.com> | 2018-02-21 09:49:31 +0800 |
commit | 3fb9e04f5ff8c762c85cfc2386c555868a7b794d (patch) | |
tree | 6cabe45b24906776c91a11933a41c605daadce73 /app/scripts/lib/nonce-tracker.js | |
parent | f2f47956973852bc055c50f226cf57e65c458855 (diff) | |
parent | b1b97727313eaa3a375541e85f43b5f2253ad6de (diff) | |
download | tangerine-wallet-browser-3fb9e04f5ff8c762c85cfc2386c555868a7b794d.tar tangerine-wallet-browser-3fb9e04f5ff8c762c85cfc2386c555868a7b794d.tar.gz tangerine-wallet-browser-3fb9e04f5ff8c762c85cfc2386c555868a7b794d.tar.bz2 tangerine-wallet-browser-3fb9e04f5ff8c762c85cfc2386c555868a7b794d.tar.lz tangerine-wallet-browser-3fb9e04f5ff8c762c85cfc2386c555868a7b794d.tar.xz tangerine-wallet-browser-3fb9e04f5ff8c762c85cfc2386c555868a7b794d.tar.zst tangerine-wallet-browser-3fb9e04f5ff8c762c85cfc2386c555868a7b794d.zip |
Merge branch 'MM-806-new-ui-first-time-import-seed-in-popup' of https://github.com/danjm/metamask-extension into MM-806-new-ui-first-time-import-seed-in-popup
Diffstat (limited to 'app/scripts/lib/nonce-tracker.js')
-rw-r--r-- | app/scripts/lib/nonce-tracker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/nonce-tracker.js b/app/scripts/lib/nonce-tracker.js index 0029ac953..ed9dd3f11 100644 --- a/app/scripts/lib/nonce-tracker.js +++ b/app/scripts/lib/nonce-tracker.js @@ -56,7 +56,7 @@ class NonceTracker { const blockTracker = this._getBlockTracker() const currentBlock = blockTracker.getCurrentBlock() if (currentBlock) return currentBlock - return await Promise((reject, resolve) => { + return await new Promise((reject, resolve) => { blockTracker.once('latest', resolve) }) } |