diff options
author | Thomas Huang <tmashuang@users.noreply.github.com> | 2018-03-08 02:48:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-08 02:48:14 +0800 |
commit | bd67deae13d98d2d49c18a1f7494a33eec3e696e (patch) | |
tree | 53753bd04e6c9646c594327967b136af7a693f9f /app/scripts | |
parent | 5ebdb215ae37d62bd1757c17b58ce08fb833ff8c (diff) | |
parent | cad5f5f0009713a1101194d964af7a1620ea158c (diff) | |
download | tangerine-wallet-browser-bd67deae13d98d2d49c18a1f7494a33eec3e696e.tar tangerine-wallet-browser-bd67deae13d98d2d49c18a1f7494a33eec3e696e.tar.gz tangerine-wallet-browser-bd67deae13d98d2d49c18a1f7494a33eec3e696e.tar.bz2 tangerine-wallet-browser-bd67deae13d98d2d49c18a1f7494a33eec3e696e.tar.lz tangerine-wallet-browser-bd67deae13d98d2d49c18a1f7494a33eec3e696e.tar.xz tangerine-wallet-browser-bd67deae13d98d2d49c18a1f7494a33eec3e696e.tar.zst tangerine-wallet-browser-bd67deae13d98d2d49c18a1f7494a33eec3e696e.zip |
Merge pull request #3460 from trigun0x2/master
fix typo in transaction.js
Diffstat (limited to 'app/scripts')
-rw-r--r-- | app/scripts/controllers/transactions.js | 4 | ||||
-rw-r--r-- | app/scripts/lib/tx-state-manager.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js index ef5578d5a..9c2ca0dc8 100644 --- a/app/scripts/controllers/transactions.js +++ b/app/scripts/controllers/transactions.js @@ -3,7 +3,7 @@ const ObservableStore = require('obs-store') const ethUtil = require('ethereumjs-util') const Transaction = require('ethereumjs-tx') const EthQuery = require('ethjs-query') -const TransactionStateManger = require('../lib/tx-state-manager') +const TransactionStateManager = require('../lib/tx-state-manager') const TxGasUtil = require('../lib/tx-gas-utils') const PendingTransactionTracker = require('../lib/pending-tx-tracker') const createId = require('../lib/random-id') @@ -38,7 +38,7 @@ module.exports = class TransactionController extends EventEmitter { this.query = new EthQuery(this.provider) this.txGasUtil = new TxGasUtil(this.provider) - this.txStateManager = new TransactionStateManger({ + this.txStateManager = new TransactionStateManager({ initState: opts.initState, txHistoryLimit: opts.txHistoryLimit, getNetwork: this.getNetwork.bind(this), diff --git a/app/scripts/lib/tx-state-manager.js b/app/scripts/lib/tx-state-manager.js index 051efd247..2eb006380 100644 --- a/app/scripts/lib/tx-state-manager.js +++ b/app/scripts/lib/tx-state-manager.js @@ -4,7 +4,7 @@ const ObservableStore = require('obs-store') const ethUtil = require('ethereumjs-util') const txStateHistoryHelper = require('./tx-state-history-helper') -module.exports = class TransactionStateManger extends EventEmitter { +module.exports = class TransactionStateManager extends EventEmitter { constructor ({ initState, txHistoryLimit, getNetwork }) { super() |