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) {
|
_getLocalPendingNonce (address) {
|
||||||
const pendingTransactions = this.getPendingTransactions(address)
|
const transactions = this.getPendingTransactions(address)
|
||||||
const highestNonce = this._getHighestNonce(pendingTransactions)
|
const highestNonce = this._getHighestNonce(transactions)
|
||||||
return highestNonce
|
return highestNonce
|
||||||
}
|
}
|
||||||
|
|
||||||
_getLocalConfirmedNonce (address) {
|
_getLocalConfirmedNonce (address) {
|
||||||
const pendingTransactions = this.getConfirmedTransactions(address)
|
const transactions = this.getConfirmedTransactions(address)
|
||||||
const highestNonce = this._getHighestNonce(pendingTransactions)
|
const highestNonce = this._getHighestNonce(transactions)
|
||||||
return highestNonce
|
return highestNonce
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user