Skip to content

Commit

Permalink
Update sidecar.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
DoTheBestToGetTheBest authored Nov 17, 2024
1 parent 1b4082a commit fac623b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/rpc-types-engine/src/sidecar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ impl ExecutionPayloadSidecar {
/// dynamically.
/// - If it contains a precomputed hash (used for testing), it returns that hash directly.
pub fn requests_hash(&self) -> Option<B256> {
match self.prague.as_ref() {
Some(hash) => Some(hash.requests_hash()),
None => None,
}
self.prague.as_ref().map_or(None, |hash| Some(hash.requests_hash()))
}
}

0 comments on commit fac623b

Please sign in to comment.