Skip to content

Commit

Permalink
fix: fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jjyr committed Nov 2, 2023
1 parent 663ec5e commit 85f5257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/relayer/src/chain/axon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ impl ChainEndpoint for AxonChain {
let block = self
.rt
.block_on(fut)?
.ok_or_else(|| Error::invalid_height_no_source())?;
.ok_or_else(Error::invalid_height_no_source)?;
let root = CommitmentRoot::from_bytes(block.header.state_root.as_bytes());
let timestamp = Timestamp::from_nanoseconds(block.header.timestamp * SEC_TO_NANO)
.map_err(Error::other)?;
Expand Down

0 comments on commit 85f5257

Please sign in to comment.