nonce-tracker - fix var name

feature/default_network_editable
kumavis 7 years ago
parent 6d596bd9e6
commit dc3e8d60ef
  1. 8
      app/scripts/lib/nonce-tracker.js

@ -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…
Cancel
Save