Skip to content

Commit 661bb4b

Browse files
[VM] remove Account cast in StateManager
[VM] lint
1 parent 9d27c44 commit 661bb4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vm/lib/state/stateManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default class DefaultStateManager implements StateManager {
7171
* @param address - Address of the `account` to get
7272
*/
7373
async getAccount(address: Buffer): Promise<Account> {
74-
const account = (await this._cache.getOrLoad(address)) as Account
74+
const account = await this._cache.getOrLoad(address)
7575
return account
7676
}
7777

0 commit comments

Comments
 (0)