Skip to content

Commit

Permalink
chore: remove redundant conversion to MerkleProof from owned Commitme…
Browse files Browse the repository at this point in the history
…ntProofBytes
  • Loading branch information
Farhad-Shabani committed Dec 18, 2023
1 parent 0052973 commit b8f5087
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ibc-core/ics23-commitment/types/src/commitment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,6 @@ impl TryFrom<MerkleProof> for CommitmentProofBytes {
}
}

impl TryFrom<CommitmentProofBytes> for MerkleProof {
type Error = CommitmentError;

fn try_from(value: CommitmentProofBytes) -> Result<Self, Self::Error> {
Self::try_from(&value)
}
}

impl<'a> TryFrom<&'a CommitmentProofBytes> for MerkleProof {
type Error = CommitmentError;

Expand Down

0 comments on commit b8f5087

Please sign in to comment.