Skip to content

Commit

Permalink
rm comm
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-savu committed Nov 1, 2023
1 parent a193a5e commit b560411
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions rust/hyperlane-core/src/types/primitive_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,14 +321,6 @@ impl_fixed_hash_serde!(H160, 20);
impl_fixed_hash_serde!(H256, 32);
impl_fixed_hash_serde!(H512, 64);

// impl TryFrom<String> for H256 {
// type Error = ChainCommunicationError;

// fn try_from(value: String) -> Result<Self, Self::Error> {
// Ok(H256::from_slice(hex::decode(value)?.as_slice()))
// }
// }

#[cfg(feature = "solana")]
impl From<solana_sdk::hash::Hash> for H256 {
fn from(hash: solana_sdk::hash::Hash) -> Self {
Expand Down

0 comments on commit b560411

Please sign in to comment.