aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/scripts/lib/nonce-tracker.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/scripts/lib/nonce-tracker.js b/app/scripts/lib/nonce-tracker.js
index 1c51ef647..13fdf27eb 100644
--- a/app/scripts/lib/nonce-tracker.js
+++ b/app/scripts/lib/nonce-tracker.js
@@ -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
}