From efd972a1c31ab5ed6238bb21f90383fe18cf7d58 Mon Sep 17 00:00:00 2001 From: Fabien Penso Date: Tue, 31 Oct 2023 14:28:49 +0100 Subject: [PATCH] Update cosmrs/src/base/account_id.rs Co-authored-by: Tony Arcieri (iqlusion) --- cosmrs/src/base/account_id.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cosmrs/src/base/account_id.rs b/cosmrs/src/base/account_id.rs index 092537c0..d089bb18 100644 --- a/cosmrs/src/base/account_id.rs +++ b/cosmrs/src/base/account_id.rs @@ -83,7 +83,7 @@ impl FromStr for AccountId { bech32::decode_upper(s) } else { bech32::decode(s) - }.wrap_err(format!("invalid uppercase bech32: '{}'", s))?; + }.wrap_err(format!("invalid bech32: '{}'", s))?; Self::new(&hrp, &bytes) } }