diff --git a/base_layer/common_types/src/tari_address/mod.rs b/base_layer/common_types/src/tari_address/mod.rs index 3eb0df5a8b..c7a6ba6cb7 100644 --- a/base_layer/common_types/src/tari_address/mod.rs +++ b/base_layer/common_types/src/tari_address/mod.rs @@ -246,7 +246,8 @@ impl TariAddress { /// Construct Tari Address from hex pub fn from_base58(hex_str: &str) -> Result { - if hex_str.len() < 47 { + if hex_str.len() < 45 { + dbg!(hex_str.len()); return Err(TariAddressError::InvalidSize); } let result = panic::catch_unwind(|| hex_str.split_at(2));