1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

test - unit - nonce-tracker - fix blockTracker stub

This commit is contained in:
kumavis 2018-05-28 15:59:34 -07:00
parent 1b3fedd10d
commit 686d5cf825

View File

@ -229,6 +229,7 @@ function generateNonceTrackerWith (pending, confirmed, providerStub = '0x0') {
}
const blockTracker = {
getCurrentBlock: () => '0x11b568',
getLatestBlock: async () => '0x11b568',
}
return new NonceTracker({
provider,