aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-06-14 00:50:01 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-06-14 00:50:01 +0800
commitec3383c16275f8d4594323b7b4ec38b447844e68 (patch)
treef055cb1eb225071c969898a339c097ee630c860f /app
parent96fa29ffbce841977ae02acaba2d8114436262d4 (diff)
downloadtangerine-wallet-browser-ec3383c16275f8d4594323b7b4ec38b447844e68.tar.gz
tangerine-wallet-browser-ec3383c16275f8d4594323b7b4ec38b447844e68.tar.zst
tangerine-wallet-browser-ec3383c16275f8d4594323b7b4ec38b447844e68.zip
rename continuallyResubmitPendingTxs to resubmitPendingTxs
Diffstat (limited to 'app')
-rw-r--r--app/scripts/controllers/transactions.js4
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