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:
parent
1b3fedd10d
commit
686d5cf825
@ -229,6 +229,7 @@ function generateNonceTrackerWith (pending, confirmed, providerStub = '0x0') {
|
|||||||
}
|
}
|
||||||
const blockTracker = {
|
const blockTracker = {
|
||||||
getCurrentBlock: () => '0x11b568',
|
getCurrentBlock: () => '0x11b568',
|
||||||
|
getLatestBlock: async () => '0x11b568',
|
||||||
}
|
}
|
||||||
return new NonceTracker({
|
return new NonceTracker({
|
||||||
provider,
|
provider,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user