Skip to content

Commit

Permalink
invoice: fix panic message spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Jul 3, 2024
1 parent 62a91ff commit 41d6170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invoice/src/amount.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ impl Display for CoinAmount {
panic!("disallowed fill character {} in coin amount formatting string", f.fill())
}
if f.precision().is_some() {
panic!("formatting precision exceeds must not be used for coin amounts")
panic!("formatting precision must not be used for coin amounts")
}
let fill = &f.fill().to_string();
let to_chunks = |s: &str| -> String {
Expand Down

0 comments on commit 41d6170

Please sign in to comment.