From 661bb4b181200974ed75efb1ce9d8b21b67f890a 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 547c28a37e..59ea56e28f 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 }