From da51571157c76521c61806d10bb3cbfdf02a8462 Mon Sep 17 00:00:00 2001 From: evalir Date: Fri, 5 Jan 2024 12:03:12 -0400 Subject: [PATCH] Update crates/cast/src/lib.rs Co-authored-by: Matthias Seitz --- crates/cast/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cast/src/lib.rs b/crates/cast/src/lib.rs index f52dcb290a329..0d9d68af80219 100644 --- a/crates/cast/src/lib.rs +++ b/crates/cast/src/lib.rs @@ -1241,7 +1241,7 @@ impl SimpleCast { pub fn to_unit(value: &str, unit: &str) -> Result { let value = DynSolType::coerce_str(&DynSolType::Uint(256), value)? .as_uint() - .wrap_err("Could not convert to uint")? + .wrap_err("could not convert to uint")? .0; Ok(match unit {