Skip to content

Commit

Permalink
Update cli/src/commands.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ross Savage <[email protected]>
  • Loading branch information
ok300 and dangeross authored Nov 14, 2024
1 parent 2928ed9 commit f9b9d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ pub(crate) async fn handle_command(
(None, Some(offer), None) => match amount_sat {
Some(_) => Ok(offer),
None => Err(anyhow!(
"Must specify either a BOLT11 invoice, a BOLT12 offer or a direct/BIP21 address."
"Must specify an amount for a BOLT12 offer."
))
},
(None, None, Some(address)) => Ok(address),
Expand Down

0 comments on commit f9b9d54

Please sign in to comment.