aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-08-23 05:24:09 +0800
committerkumavis <aaron@kumavis.me>2017-08-23 05:24:09 +0800
commitdc3e8d60ef22b268b4146e28e9dcb262aaa63304 (patch)
tree0aea5dd143eefea5939cd6a1a385251490aabed5
parent6d596bd9e6921b92de62befadebe32b270f2b784 (diff)
downloadtangerine-wallet-browser-dc3e8d60ef22b268b4146e28e9dcb262aaa63304.tar
tangerine-wallet-browser-dc3e8d60ef22b268b4146e28e9dcb262aaa63304.tar.gz
tangerine-wallet-browser-dc3e8d60ef22b268b4146e28e9dcb262aaa63304.tar.bz2
tangerine-wallet-browser-dc3e8d60ef22b268b4146e28e9dcb262aaa63304.tar.lz
tangerine-wallet-browser-dc3e8d60ef22b268b4146e28e9dcb262aaa63304.tar.xz
tangerine-wallet-browser-dc3e8d60ef22b268b4146e28e9dcb262aaa63304.tar.zst
tangerine-wallet-browser-dc3e8d60ef22b268b4146e28e9dcb262aaa63304.zip
nonce-tracker - fix var name
-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
}