diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-06-29 02:23:31 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-07-07 07:27:08 +0800 |
commit | 9cde5ab11b0670eed7baeb2f31486cb3e253bdcb (patch) | |
tree | f31a0b631c19227cbf7a62a3be0f92a1b7b1a586 /app/scripts/controllers | |
parent | 7732cd4100f3c40f35eeaec669094f63292cbe3d (diff) | |
download | tangerine-wallet-browser-9cde5ab11b0670eed7baeb2f31486cb3e253bdcb.tar tangerine-wallet-browser-9cde5ab11b0670eed7baeb2f31486cb3e253bdcb.tar.gz tangerine-wallet-browser-9cde5ab11b0670eed7baeb2f31486cb3e253bdcb.tar.bz2 tangerine-wallet-browser-9cde5ab11b0670eed7baeb2f31486cb3e253bdcb.tar.lz tangerine-wallet-browser-9cde5ab11b0670eed7baeb2f31486cb3e253bdcb.tar.xz tangerine-wallet-browser-9cde5ab11b0670eed7baeb2f31486cb3e253bdcb.tar.zst tangerine-wallet-browser-9cde5ab11b0670eed7baeb2f31486cb3e253bdcb.zip |
Use eth-method-registry to get method data
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 2e5546fee..8e2288aed 100644 --- a/app/scripts/controllers/transactions/index.js +++ b/app/scripts/controllers/transactions/index.js @@ -157,6 +157,7 @@ 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 @@ -171,7 +172,6 @@ class TransactionController extends EventEmitter { txMeta.loadingDefaults = false // save txMeta this.txStateManager.updateTx(txMeta) - this.emit('newUnapprovedTx', txMeta) return txMeta } |