Skip to content

Commit

Permalink
typo(cli/utils): kaspa wording (kaspanet#582)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Sutton <[email protected]>
  • Loading branch information
IzioDev and michaelsutton authored Oct 22, 2024
1 parent a40efbb commit aac16a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub fn try_parse_required_nonzero_kaspa_as_sompi_u64<S: ToString + Display>(kasp
let sompi_amount = kaspa_amount
.to_string()
.parse::<f64>()
.map_err(|_| Error::custom(format!("Supplied Kasapa amount is not valid: '{kaspa_amount}'")))?
.map_err(|_| Error::custom(format!("Supplied Kaspa amount is not valid: '{kaspa_amount}'")))?
* SOMPI_PER_KASPA as f64;
if sompi_amount < 0.0 {
Err(Error::custom("Supplied Kaspa amount is not valid: '{kaspa_amount}'"))
Expand Down

0 comments on commit aac16a9

Please sign in to comment.