aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-12-07 00:37:31 +0800
committerDan <danjm.com@gmail.com>2017-12-07 00:37:31 +0800
commitea23da9e75c92cbf82d0daa19847d2035361a656 (patch)
tree67f6da9216271d4682daac37ab2c251fb02af693
parent871d9fd9fb8417a2dd47abafe68ae07e4903ba6e (diff)
downloadtangerine-wallet-browser-ea23da9e75c92cbf82d0daa19847d2035361a656.tar
tangerine-wallet-browser-ea23da9e75c92cbf82d0daa19847d2035361a656.tar.gz
tangerine-wallet-browser-ea23da9e75c92cbf82d0daa19847d2035361a656.tar.bz2
tangerine-wallet-browser-ea23da9e75c92cbf82d0daa19847d2035361a656.tar.lz
tangerine-wallet-browser-ea23da9e75c92cbf82d0daa19847d2035361a656.tar.xz
tangerine-wallet-browser-ea23da9e75c92cbf82d0daa19847d2035361a656.tar.zst
tangerine-wallet-browser-ea23da9e75c92cbf82d0daa19847d2035361a656.zip
Correct note for updateTx after block-update event in transaction.js
-rw-r--r--app/scripts/controllers/transactions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js
index 063ba8f65..ce709bd28 100644
--- a/app/scripts/controllers/transactions.js
+++ b/app/scripts/controllers/transactions.js
@@ -75,7 +75,7 @@ module.exports = class TransactionController extends EventEmitter {
this.pendingTxTracker.on('tx:block-update', (txMeta, latestBlockNumber) => {
if (!txMeta.firstRetryBlockNumber) {
txMeta.firstRetryBlockNumber = latestBlockNumber
- this.txStateManager.updateTx(txMeta, 'transactions/pending-tx-tracker#event: tx:retry')
+ this.txStateManager.updateTx(txMeta, 'transactions/pending-tx-tracker#event: tx:block-update')
}
})
this.pendingTxTracker.on('tx:retry', (txMeta) => {