Skip to content

Commit

Permalink
into over Self::from
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Mar 19, 2024
1 parent 7688868 commit adc5b77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ibc-testkit/src/fixtures/clients/tendermint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl TryFrom<ClientStateConfig> for TmClientState {
config.allow_update,
)?;

Ok(Self::from(client_state))
Ok(client_state.into())
}
}

Expand Down
2 changes: 1 addition & 1 deletion ibc-testkit/src/hosts/tendermint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ impl From<TendermintHeader> for Header {

impl From<TendermintHeader> for ConsensusState {
fn from(header: TendermintHeader) -> Self {
Self::from(header.0.signed_header.header)
header.0.signed_header.header.into()
}
}

Expand Down

0 comments on commit adc5b77

Please sign in to comment.