1
0
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:
kumavis 2017-08-22 14:24:09 -07:00
parent 6d596bd9e6
commit dc3e8d60ef

View File

@ -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
} }