From b8f50878b76b0f34ad2c4191bb85480bc703011c Mon Sep 17 00:00:00 2001 From: Farhad Shabani Date: Mon, 18 Dec 2023 11:32:42 -0800 Subject: [PATCH] chore: remove redundant conversion to MerkleProof from owned CommitmentProofBytes --- ibc-core/ics23-commitment/types/src/commitment.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ibc-core/ics23-commitment/types/src/commitment.rs b/ibc-core/ics23-commitment/types/src/commitment.rs index ceceeee46..b24b60a88 100644 --- a/ibc-core/ics23-commitment/types/src/commitment.rs +++ b/ibc-core/ics23-commitment/types/src/commitment.rs @@ -118,14 +118,6 @@ impl TryFrom for CommitmentProofBytes { } } -impl TryFrom for MerkleProof { - type Error = CommitmentError; - - fn try_from(value: CommitmentProofBytes) -> Result { - Self::try_from(&value) - } -} - impl<'a> TryFrom<&'a CommitmentProofBytes> for MerkleProof { type Error = CommitmentError;