diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-10-06 01:54:28 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-10-06 02:07:22 +0800 |
commit | ec9c5283135d2cc3dcb633f19dd89ea79267f34a (patch) | |
tree | f18875d1f2a49f4ccec7da6468442dd292c5176c /app/scripts/controllers/transactions.js | |
parent | 852c27bad4998fde7ef17135317ea0b10e81b682 (diff) | |
download | tangerine-wallet-browser-ec9c5283135d2cc3dcb633f19dd89ea79267f34a.tar tangerine-wallet-browser-ec9c5283135d2cc3dcb633f19dd89ea79267f34a.tar.gz tangerine-wallet-browser-ec9c5283135d2cc3dcb633f19dd89ea79267f34a.tar.bz2 tangerine-wallet-browser-ec9c5283135d2cc3dcb633f19dd89ea79267f34a.tar.lz tangerine-wallet-browser-ec9c5283135d2cc3dcb633f19dd89ea79267f34a.tar.xz tangerine-wallet-browser-ec9c5283135d2cc3dcb633f19dd89ea79267f34a.tar.zst tangerine-wallet-browser-ec9c5283135d2cc3dcb633f19dd89ea79267f34a.zip |
pending-tx - check time stamp instead of block number for resubmit
Diffstat (limited to 'app/scripts/controllers/transactions.js')
-rw-r--r-- | app/scripts/controllers/transactions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js index 94e04c429..a0f983deb 100644 --- a/app/scripts/controllers/transactions.js +++ b/app/scripts/controllers/transactions.js @@ -59,7 +59,7 @@ module.exports = class TransactionController extends EventEmitter { this.pendingTxTracker = new PendingTransactionTracker({ provider: this.provider, nonceTracker: this.nonceTracker, - retryLimit: 3500, // Retry 3500 blocks, or about 1 day. + retryTimePeriod: 86400000, // Retry 3500 blocks, or about 1 day. publishTransaction: (rawTx) => this.query.sendRawTransaction(rawTx), getPendingTransactions: this.txStateManager.getPendingTransactions.bind(this.txStateManager), }) |