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:
parent
5418813ed1
commit
5e6962342d
@ -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…
Reference in New Issue
Block a user