Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion committed Aug 24, 2022
1 parent f66af91 commit 3b844b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions packages/beacon-node/src/chain/forkChoice/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ export function initializeForkChoice(
currentSlot
),

opts,
metrics
opts
);
}
4 changes: 4 additions & 0 deletions packages/beacon-node/test/utils/mocks/chain/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ export class MockBeaconChain implements IBeaconChain {
};
}

recomputeForkChoiceHead(): ProtoBlock {
return this.forkChoice.getHead();
}

async waitForBlockOfAttestation(): Promise<boolean> {
return false;
}
Expand Down

0 comments on commit 3b844b3

Please sign in to comment.