Skip to content

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
s1na committed Jun 13, 2019
1 parent 749d9a3 commit c009744
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/runBlockchain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit c009744

Please sign in to comment.