Skip to content

Commit

Permalink
fix lint warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Jun Kimura <[email protected]>
  • Loading branch information
bluele committed Sep 12, 2024
1 parent f9d30df commit 2068af0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@ pub fn gen_state_id<const SYNC_COMMITTEE_SIZE: usize, const EXECUTION_PAYLOAD_TR
consensus_state: ConsensusState,
) -> Result<StateID, Error> {
Ok(gen_state_id_from_any(
&canonicalize_client_state(client_state).try_into().unwrap(),
&canonicalize_consensus_state(consensus_state)
.try_into()
.unwrap(),
&canonicalize_client_state(client_state).into(),
&canonicalize_consensus_state(consensus_state).into(),
)?)
}

0 comments on commit 2068af0

Please sign in to comment.