Skip to content

Commit

Permalink
Update crates/cast/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
  • Loading branch information
Evalir and mattsse authored Jan 5, 2024
1 parent cf39da9 commit da51571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cast/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@ impl SimpleCast {
pub fn to_unit(value: &str, unit: &str) -> Result<String> {
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 {
Expand Down

0 comments on commit da51571

Please sign in to comment.