diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-06-14 00:50:01 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-06-14 00:50:01 +0800 |
commit | ec3383c16275f8d4594323b7b4ec38b447844e68 (patch) | |
tree | f055cb1eb225071c969898a339c097ee630c860f | |
parent | 96fa29ffbce841977ae02acaba2d8114436262d4 (diff) | |
download | tangerine-wallet-browser-ec3383c16275f8d4594323b7b4ec38b447844e68.tar tangerine-wallet-browser-ec3383c16275f8d4594323b7b4ec38b447844e68.tar.gz tangerine-wallet-browser-ec3383c16275f8d4594323b7b4ec38b447844e68.tar.bz2 tangerine-wallet-browser-ec3383c16275f8d4594323b7b4ec38b447844e68.tar.lz tangerine-wallet-browser-ec3383c16275f8d4594323b7b4ec38b447844e68.tar.xz tangerine-wallet-browser-ec3383c16275f8d4594323b7b4ec38b447844e68.tar.zst tangerine-wallet-browser-ec3383c16275f8d4594323b7b4ec38b447844e68.zip |
rename continuallyResubmitPendingTxs to resubmitPendingTxs
-rw-r--r-- | app/scripts/controllers/transactions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js index bf24523cc..9f621747f 100644 --- a/app/scripts/controllers/transactions.js +++ b/app/scripts/controllers/transactions.js @@ -25,7 +25,7 @@ module.exports = class TransactionController extends EventEmitter { this.query = opts.ethQuery this.txProviderUtils = new TxProviderUtil(this.query) this.blockTracker.on('block', this.checkForTxInBlock.bind(this)) - this.blockTracker.on('block', this.continuallyResubmitPendingTxs.bind(this)) + this.blockTracker.on('block', this.resubmitPendingTxs.bind(this)) this.signEthTx = opts.signTransaction this.nonceLock = Semaphore(1) @@ -407,7 +407,7 @@ module.exports = class TransactionController extends EventEmitter { this.memStore.updateState({ unapprovedTxs, selectedAddressTxList }) } - continuallyResubmitPendingTxs () { + resubmitPendingTxs () { const pending = this.getTxsByMetaData('status', 'submitted') // only try resubmitting if their are transactions to resubmit if (!pending.length) return |