|
|
@ -66,7 +66,7 @@ module.exports = class PendingTransactionTracker extends EventEmitter { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
resubmitPendingTxs () { |
|
|
|
resubmitPendingTxs () { |
|
|
|
const pending = this.getPendingTransactions('status', 'submitted') |
|
|
|
const pending = this.getPendingTransactions() |
|
|
|
// only try resubmitting if their are transactions to resubmit
|
|
|
|
// only try resubmitting if their are transactions to resubmit
|
|
|
|
if (!pending.length) return |
|
|
|
if (!pending.length) return |
|
|
|
pending.forEach((txMeta) => this._resubmitTx(txMeta).catch((err) => { |
|
|
|
pending.forEach((txMeta) => this._resubmitTx(txMeta).catch((err) => { |
|
|
|