tx controller - fix getBalance fn

feature/default_network_editable
kumavis 7 years ago
parent 5418813ed1
commit 5e6962342d
  1. 2
      app/scripts/controllers/transactions.js

@ -40,7 +40,7 @@ module.exports = class TransactionController extends EventEmitter {
this.pendingTxTracker = new PendingTransactionTracker({
provider: this.provider,
nonceTracker: this.nonceTracker,
getBalance: async (address) => {
getBalance: (address) => {
const account = this.ethStore.getState().accounts[address]
if (!account) return
return account.balance

Loading…
Cancel
Save