1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

tx controller - fix getBalance fn

This commit is contained in:
kumavis 2017-08-08 21:08:30 -07:00
parent 5418813ed1
commit 5e6962342d

View File

@ -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