fix FromStr for Address
parent
ae812b33d1
commit
cc4d7209be
|
@ -100,7 +100,7 @@ impl FromStr for Address {
|
|||
type Err = anyhow::Error;
|
||||
|
||||
fn from_str(s: &str) -> Result<Self, Self::Err> {
|
||||
Address::decode(s.as_ref())
|
||||
Address::decode(decode(s)?.as_ref())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue