From dc3e8d60ef22b268b4146e28e9dcb262aaa63304 Mon Sep 17 00:00:00 2001 From: kumavis Date: Tue, 22 Aug 2017 14:24:09 -0700 Subject: [PATCH] nonce-tracker - fix var name --- app/scripts/lib/nonce-tracker.js | 8 ++++---- 1 file 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 }