Skip to content

Commit

Permalink
Update packages/beacon-node/src/api/impl/validator/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Nico Flaig <[email protected]>
  • Loading branch information
ensi321 and nflaig authored Jun 10, 2024
1 parent ae09276 commit c265f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/beacon-node/src/api/impl/validator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ export function getValidatorApi(
slot,
parentBlockRoot,
randaoReveal,
graffiti: toGraffitiBuffer(graffiti || (await defaultGraffiti)),
graffiti: toGraffitiBuffer(graffiti ?? (await defaultGraffiti)),
commonBlockBody,
});

Expand Down

0 comments on commit c265f72

Please sign in to comment.