Skip to content

Commit

Permalink
Add default to payload id (#1442)
Browse files Browse the repository at this point in the history
add default to payload id
  • Loading branch information
cody-wang-cb authored Oct 8, 2024
1 parent 1decf94 commit 3f5f1e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rpc-types-engine/src/payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub type ExecutionPayloadBodiesV1 = Vec<Option<ExecutionPayloadBodyV1>>;
pub type ExecutionPayloadBodiesV2 = Vec<Option<ExecutionPayloadBodyV2>>;

/// And 8-byte identifier for an execution payload.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Default)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct PayloadId(pub B64);

Expand Down

0 comments on commit 3f5f1e5

Please sign in to comment.