pull/5370/head
yann300 4 years ago
parent 30f02ccbe3
commit 431f5d00c8
  1. 4
      libs/remix-simulator/src/methods/accounts.ts

@ -57,7 +57,6 @@ export class Accounts {
})
}).catch((error) => {
reject(error)
return
})
})
}
@ -84,8 +83,7 @@ export class Accounts {
}
eth_getBalance (payload, cb) {
let address = payload.params[0]
const address = payload.params[0]
this.executionContext.vm().stateManager.getAccount(Address.fromString(address)).then((account) => {
cb(null, new BN(account.balance).toString(10))

Loading…
Cancel
Save