mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
nonce-tracker - fix var name
This commit is contained in:
parent
6d596bd9e6
commit
dc3e8d60ef
@ -110,14 +110,14 @@ class NonceTracker {
|
||||
}
|
||||
|
||||
_getLocalPendingNonce (address) {
|
||||
const pendingTransactions = this.getPendingTransactions(address)
|
||||
const highestNonce = this._getHighestNonce(pendingTransactions)
|
||||
const transactions = this.getPendingTransactions(address)
|
||||
const highestNonce = this._getHighestNonce(transactions)
|
||||
return highestNonce
|
||||
}
|
||||
|
||||
_getLocalConfirmedNonce (address) {
|
||||
const pendingTransactions = this.getConfirmedTransactions(address)
|
||||
const highestNonce = this._getHighestNonce(pendingTransactions)
|
||||
const transactions = this.getConfirmedTransactions(address)
|
||||
const highestNonce = this._getHighestNonce(transactions)
|
||||
return highestNonce
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user