diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-12-28 08:50:15 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-12-28 08:50:15 +0800 |
commit | 5efb0044d8e334d6c4ec2b5d68e830932eb96ed7 (patch) | |
tree | 48c1d52326ebe548ae07e0eb0782dd5e18c75304 /app/scripts/lib | |
parent | 06f496310ce7d719bbb5690f307db143ba57a1a7 (diff) | |
download | tangerine-wallet-browser-5efb0044d8e334d6c4ec2b5d68e830932eb96ed7.tar tangerine-wallet-browser-5efb0044d8e334d6c4ec2b5d68e830932eb96ed7.tar.gz tangerine-wallet-browser-5efb0044d8e334d6c4ec2b5d68e830932eb96ed7.tar.bz2 tangerine-wallet-browser-5efb0044d8e334d6c4ec2b5d68e830932eb96ed7.tar.lz tangerine-wallet-browser-5efb0044d8e334d6c4ec2b5d68e830932eb96ed7.tar.xz tangerine-wallet-browser-5efb0044d8e334d6c4ec2b5d68e830932eb96ed7.tar.zst tangerine-wallet-browser-5efb0044d8e334d6c4ec2b5d68e830932eb96ed7.zip |
transactions:pending - only check nonces of transactions who's from adress match the txMeta
Diffstat (limited to 'app/scripts/lib')
-rw-r--r-- | app/scripts/lib/pending-tx-tracker.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/scripts/lib/pending-tx-tracker.js b/app/scripts/lib/pending-tx-tracker.js index 7956a3329..e8869e6b8 100644 --- a/app/scripts/lib/pending-tx-tracker.js +++ b/app/scripts/lib/pending-tx-tracker.js @@ -178,7 +178,8 @@ module.exports = class PendingTransactionTracker extends EventEmitter { } async _checkIfNonceIsTaken (txMeta) { - const completed = this.getCompletedTransactions() + const address = txMeta.txParams.from + const completed = this.getCompletedTransactions(address) const sameNonce = completed.filter((otherMeta) => { return otherMeta.txParams.nonce === txMeta.txParams.nonce }) |