aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-12-07 00:32:38 +0800
committerDan <danjm.com@gmail.com>2017-12-07 00:32:38 +0800
commit871d9fd9fb8417a2dd47abafe68ae07e4903ba6e (patch)
treeaa6a928a062797a40be908d250ea12958b0f856b /app
parentae2a4d78e8c7733da1963965e38e154351d54a20 (diff)
downloadtangerine-wallet-browser-871d9fd9fb8417a2dd47abafe68ae07e4903ba6e.tar
tangerine-wallet-browser-871d9fd9fb8417a2dd47abafe68ae07e4903ba6e.tar.gz
tangerine-wallet-browser-871d9fd9fb8417a2dd47abafe68ae07e4903ba6e.tar.bz2
tangerine-wallet-browser-871d9fd9fb8417a2dd47abafe68ae07e4903ba6e.tar.lz
tangerine-wallet-browser-871d9fd9fb8417a2dd47abafe68ae07e4903ba6e.tar.xz
tangerine-wallet-browser-871d9fd9fb8417a2dd47abafe68ae07e4903ba6e.tar.zst
tangerine-wallet-browser-871d9fd9fb8417a2dd47abafe68ae07e4903ba6e.zip
Fix undefined latestBlockNumber in _resubmitTx
Diffstat (limited to 'app')
-rw-r--r--app/scripts/lib/pending-tx-tracker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/pending-tx-tracker.js b/app/scripts/lib/pending-tx-tracker.js
index 60c837040..62d621ac1 100644
--- a/app/scripts/lib/pending-tx-tracker.js
+++ b/app/scripts/lib/pending-tx-tracker.js
@@ -69,7 +69,7 @@ module.exports = class PendingTransactionTracker extends EventEmitter {
const pending = this.getPendingTransactions()
// only try resubmitting if their are transactions to resubmit
if (!pending.length) return
- pending.forEach((txMeta) => this._resubmitTx(txMeta).catch((err) => {
+ pending.forEach((txMeta) => this._resubmitTx(txMeta, block.number).catch((err) => {
/*
Dont marked as failed if the error is a "known" transaction warning
"there is already a transaction with the same sender-nonce