Skip to content

Commit

Permalink
[VM] remove Account cast in StateManager
Browse files Browse the repository at this point in the history
[VM] lint
  • Loading branch information
jochem-brouwer committed Jul 31, 2020
1 parent 9d27c44 commit 661bb4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vm/lib/state/stateManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default class DefaultStateManager implements StateManager {
* @param address - Address of the `account` to get
*/
async getAccount(address: Buffer): Promise<Account> {
const account = (await this._cache.getOrLoad(address)) as Account
const account = await this._cache.getOrLoad(address)
return account
}

Expand Down

0 comments on commit 661bb4b

Please sign in to comment.