Commit fd0bb4cd authored by yann300's avatar yann300

linting

parent 62e41049
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment