From cc4d7209be5efc06c762027d9a37012ac21258df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Fri, 19 Feb 2021 22:35:05 +0100 Subject: [PATCH] fix FromStr for Address --- src/addressing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addressing.rs b/src/addressing.rs index c42ac7c..65b26b3 100644 --- a/src/addressing.rs +++ b/src/addressing.rs @@ -100,7 +100,7 @@ impl FromStr for Address { type Err = anyhow::Error; fn from_str(s: &str) -> Result { - Address::decode(s.as_ref()) + Address::decode(decode(s)?.as_ref()) } }