From c009744dd8e208c36dd56ca2fb8e17e8845ec68d Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Thu, 13 Jun 2019 12:27:18 +0200 Subject: [PATCH] Fix linting error --- lib/runBlockchain.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/runBlockchain.ts b/lib/runBlockchain.ts index 7dc43f22eb2..e7bfc46d41d 100644 --- a/lib/runBlockchain.ts +++ b/lib/runBlockchain.ts @@ -104,7 +104,11 @@ interface hasGenesisStateCallback { * Checks whether the current instance has the canonical genesis state * for the configured chain parameters. */ -function hasGenesisState(stateManager: StateManager, common: Common, cb: hasGenesisStateCallback): void { +function hasGenesisState( + stateManager: StateManager, + common: Common, + cb: hasGenesisStateCallback, +): void { const root = common.genesis().stateRoot stateManager._trie.checkRoot(root, cb) }