diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-06-26 12:29:16 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-07-07 07:27:08 +0800 |
commit | 7732cd4100f3c40f35eeaec669094f63292cbe3d (patch) | |
tree | f09c5e60901d4ae83e6f0cb1f5856e369b141d68 /app/scripts/controllers | |
parent | e89549846fd3bd520b99740c7845f48f368c3afa (diff) | |
download | tangerine-wallet-browser-7732cd4100f3c40f35eeaec669094f63292cbe3d.tar tangerine-wallet-browser-7732cd4100f3c40f35eeaec669094f63292cbe3d.tar.gz tangerine-wallet-browser-7732cd4100f3c40f35eeaec669094f63292cbe3d.tar.bz2 tangerine-wallet-browser-7732cd4100f3c40f35eeaec669094f63292cbe3d.tar.lz tangerine-wallet-browser-7732cd4100f3c40f35eeaec669094f63292cbe3d.tar.xz tangerine-wallet-browser-7732cd4100f3c40f35eeaec669094f63292cbe3d.tar.zst tangerine-wallet-browser-7732cd4100f3c40f35eeaec669094f63292cbe3d.zip |
Display newest transaction
Diffstat (limited to 'app/scripts/controllers')
-rw-r--r-- | app/scripts/controllers/transactions/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/transactions/index.js b/app/scripts/controllers/transactions/index.js index 8e2288aed..2e5546fee 100644 --- a/app/scripts/controllers/transactions/index.js +++ b/app/scripts/controllers/transactions/index.js @@ -157,7 +157,6 @@ class TransactionController extends EventEmitter { // construct txMeta let txMeta = this.txStateManager.generateTxMeta({ txParams: normalizedTxParams }) this.addTx(txMeta) - this.emit('newUnapprovedTx', txMeta) try { // check whether recipient account is blacklisted @@ -172,6 +171,7 @@ class TransactionController extends EventEmitter { txMeta.loadingDefaults = false // save txMeta this.txStateManager.updateTx(txMeta) + this.emit('newUnapprovedTx', txMeta) return txMeta } |