From b56041156de9f3ecc75b209b7b828ed6ba7485fd Mon Sep 17 00:00:00 2001 From: Daniel Savu <23065004+daniel-savu@users.noreply.github.com> Date: Wed, 1 Nov 2023 11:29:50 +0000 Subject: [PATCH] rm comm --- rust/hyperlane-core/src/types/primitive_types.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/rust/hyperlane-core/src/types/primitive_types.rs b/rust/hyperlane-core/src/types/primitive_types.rs index f22972a0f6..58dd9bffab 100644 --- a/rust/hyperlane-core/src/types/primitive_types.rs +++ b/rust/hyperlane-core/src/types/primitive_types.rs @@ -321,14 +321,6 @@ impl_fixed_hash_serde!(H160, 20); impl_fixed_hash_serde!(H256, 32); impl_fixed_hash_serde!(H512, 64); -// impl TryFrom for H256 { -// type Error = ChainCommunicationError; - -// fn try_from(value: String) -> Result { -// Ok(H256::from_slice(hex::decode(value)?.as_slice())) -// } -// } - #[cfg(feature = "solana")] impl From for H256 { fn from(hash: solana_sdk::hash::Hash) -> Self {