Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkeil committed Sep 16, 2024
1 parent 0e1ce55 commit c55c282
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/beacon-node/src/chain/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,9 @@ export class BeaconChain implements IBeaconChain {
return block;
}
const blockHash = toHex(blindedOrFullBlockHashTreeRoot(this.config, block.message));
const [payload] = await this.executionEngine.getPayloadBodiesByHash([blockHash]);
const [payload] = await this.executionEngine.getPayloadBodiesByHash(this.config.getForkName(block.message.slot), [
blockHash,
]);
if (!payload) {
throw new Eth1Error(
{code: Eth1ErrorCode.INVALID_PAYLOAD_BODY, blockHash},
Expand Down

0 comments on commit c55c282

Please sign in to comment.