From 9b84eedd0ec0612ecd70d6b36e321c47fce8e726 Mon Sep 17 00:00:00 2001 From: Michalis Kargakis Date: Thu, 9 Jan 2025 15:50:41 +0100 Subject: [PATCH] Fix identifying Tezos contracts --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ffb6ace..d4c7673 100644 --- a/src/main.rs +++ b/src/main.rs @@ -77,7 +77,7 @@ impl FromStr for ChainAddress { type Err = anyhow::Error; fn from_str(s: &str) -> Result { - if s.starts_with("tz") { + if s.starts_with("KT1") { Ok(ChainAddress::Tezos(s.to_string())) } else { Ok(ChainAddress::Ethereum(