Skip to content

Commit aac16a9

Browse files
typo(cli/utils): kaspa wording (kaspanet#582)
Co-authored-by: Michael Sutton <msutton@cs.huji.ac.il>
1 parent a40efbb commit aac16a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pub fn try_parse_required_nonzero_kaspa_as_sompi_u64<S: ToString + Display>(kasp
88
let sompi_amount = kaspa_amount
99
.to_string()
1010
.parse::<f64>()
11-
.map_err(|_| Error::custom(format!("Supplied Kasapa amount is not valid: '{kaspa_amount}'")))?
11+
.map_err(|_| Error::custom(format!("Supplied Kaspa amount is not valid: '{kaspa_amount}'")))?
1212
* SOMPI_PER_KASPA as f64;
1313
if sompi_amount < 0.0 {
1414
Err(Error::custom("Supplied Kaspa amount is not valid: '{kaspa_amount}'"))

0 commit comments

Comments
 (0)