diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-07-27 06:32:19 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-07-27 06:32:19 +0800 |
commit | f147b928b238af3e1f0abdcc4d38b5281f67aba4 (patch) | |
tree | 758d3cb81d42af5bde01be3dbedfb24536cc1a80 /test | |
parent | 3d8ebf2265d167923f3b913bac3b9cc4d37fa052 (diff) | |
parent | 520cda0058849778461cf6b9682980068149c120 (diff) | |
download | tangerine-wallet-browser-f147b928b238af3e1f0abdcc4d38b5281f67aba4.tar tangerine-wallet-browser-f147b928b238af3e1f0abdcc4d38b5281f67aba4.tar.gz tangerine-wallet-browser-f147b928b238af3e1f0abdcc4d38b5281f67aba4.tar.bz2 tangerine-wallet-browser-f147b928b238af3e1f0abdcc4d38b5281f67aba4.tar.lz tangerine-wallet-browser-f147b928b238af3e1f0abdcc4d38b5281f67aba4.tar.xz tangerine-wallet-browser-f147b928b238af3e1f0abdcc4d38b5281f67aba4.tar.zst tangerine-wallet-browser-f147b928b238af3e1f0abdcc4d38b5281f67aba4.zip |
Merge branch 'master' into i1805-LiveBlacklistUpdating
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/nonce-tracker-test.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/unit/nonce-tracker-test.js b/test/unit/nonce-tracker-test.js index 16cd6d008..b0283e159 100644 --- a/test/unit/nonce-tracker-test.js +++ b/test/unit/nonce-tracker-test.js @@ -18,11 +18,13 @@ describe('Nonce Tracker', function () { getPendingTransactions = () => pendingTxs - provider = { sendAsync: (_, cb) => { cb(undefined, {result: '0x0'}) } } - nonceTracker = new NonceTracker({ - blockTracker: { + provider = { + sendAsync: (_, cb) => { cb(undefined, {result: '0x0'}) }, + _blockTracker: { getCurrentBlock: () => '0x11b568', }, + } + nonceTracker = new NonceTracker({ provider, getPendingTransactions, }) |