mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Got all tests but one passing
This commit is contained in:
parent
221575a191
commit
04d40b114d
@ -30,6 +30,7 @@ class NonceTracker {
|
||||
const nonceDetails = {}
|
||||
const networkNonceResult = await this._getNetworkNextNonce(address)
|
||||
const highestLocallyConfirmed = this._getHighestLocallyConfirmed(address)
|
||||
|
||||
const highestConfirmed = Math.max(networkNonceResult.nonce, highestLocallyConfirmed)
|
||||
const pendingTxs = this.getPendingTransactions(address)
|
||||
const localNonceResult = this._getHighestContinuousFrom(pendingTxs, highestConfirmed) || 0
|
||||
|
Loading…
Reference in New Issue
Block a user