From 451e301a628863df2cd18b96a8f9bb7e1b32d153 Mon Sep 17 00:00:00 2001 From: karim-en Date: Mon, 6 Jan 2025 20:19:56 +0000 Subject: [PATCH] Backward compatible address prefix for ETH network --- near/omni-types/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/near/omni-types/src/lib.rs b/near/omni-types/src/lib.rs index 5ac3914c..eccf965e 100644 --- a/near/omni-types/src/lib.rs +++ b/near/omni-types/src/lib.rs @@ -273,6 +273,7 @@ impl OmniAddress { format!("sol-{hashed_address}") } } + OmniAddress::Eth(address) => address.to_string(), _ => self.encode('-', true), } }