diff options
author | Dora E. Mondrian <dora@dora.dora> | 2017-11-06 20:35:51 +0800 |
---|---|---|
committer | Dora E. Mondrian <dora@dora.dora> | 2017-11-06 20:35:51 +0800 |
commit | 41fea44af3105313b33d9882859935019b6a2410 (patch) | |
tree | 0ff2a21d77bd5287a504032213e0750d29ec4723 /app/scripts/controllers/transactions.js | |
parent | 7bfb08cf3b5ed93d28147e5ddaad18e3aaf49c8b (diff) | |
download | tangerine-wallet-browser-41fea44af3105313b33d9882859935019b6a2410.tar tangerine-wallet-browser-41fea44af3105313b33d9882859935019b6a2410.tar.gz tangerine-wallet-browser-41fea44af3105313b33d9882859935019b6a2410.tar.bz2 tangerine-wallet-browser-41fea44af3105313b33d9882859935019b6a2410.tar.lz tangerine-wallet-browser-41fea44af3105313b33d9882859935019b6a2410.tar.xz tangerine-wallet-browser-41fea44af3105313b33d9882859935019b6a2410.tar.zst tangerine-wallet-browser-41fea44af3105313b33d9882859935019b6a2410.zip |
newUnaprovedTx => newUnapprovedTx
This typo tripped me up when I was reading through the code and trying to understand what's going on.
Diffstat (limited to 'app/scripts/controllers/transactions.js')
-rw-r--r-- | app/scripts/controllers/transactions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js index d5fde033b..a861c0342 100644 --- a/app/scripts/controllers/transactions.js +++ b/app/scripts/controllers/transactions.js @@ -133,7 +133,7 @@ module.exports = class TransactionController extends EventEmitter { async newUnapprovedTransaction (txParams) { log.debug(`MetaMaskController newUnapprovedTransaction ${JSON.stringify(txParams)}`) const txMeta = await this.addUnapprovedTransaction(txParams) - this.emit('newUnaprovedTx', txMeta) + this.emit('newUnapprovedTx', txMeta) // listen for tx completion (success, fail) return new Promise((resolve, reject) => { this.txStateManager.once(`${txMeta.id}:finished`, (completedTx) => { |