From 654fcbfc8a63c6cc43ec9632569eeb043beaa350 Mon Sep 17 00:00:00 2001 From: Jochem Brouwer Date: Fri, 31 Jul 2020 06:52:56 +0200 Subject: [PATCH] [VM] remove Account cast in StateManager [VM] lint --- packages/vm/lib/state/stateManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vm/lib/state/stateManager.ts b/packages/vm/lib/state/stateManager.ts index 547c28a37ed..59ea56e28f0 100644 --- a/packages/vm/lib/state/stateManager.ts +++ b/packages/vm/lib/state/stateManager.ts @@ -71,7 +71,7 @@ export default class DefaultStateManager implements StateManager { * @param address - Address of the `account` to get */ async getAccount(address: Buffer): Promise { - const account = (await this._cache.getOrLoad(address)) as Account + const account = await this._cache.getOrLoad(address) return account }