infer amount when signing contracts

This commit is contained in:
wiesche
2026-09-08 18:03:23 +02:00
parent 8cf5069c07
commit b0722adce9
8 changed files with 43 additions and 21 deletions
+2 -2
View File
@@ -518,7 +518,7 @@ subcommands:
long: outfile
takes_value: true
- proof-type:
help: Create an early payment proof of this type (requires a positive --receive amount and --encrypt-for)
help: Create an early payment proof of this type (requires a receiving contract and --encrypt-for)
long: proof-type
possible_values:
- invoice
@@ -585,7 +585,7 @@ subcommands:
long: no-broadcast
takes_value: false
- proof-type:
help: Create an early payment proof of this type (requires a positive --receive amount and a Slatepack sender or --encrypt-for)
help: Create an early payment proof of this type (requires a receiving contract and a Slatepack sender or --encrypt-for)
long: proof-type
possible_values:
- invoice
-1
View File
@@ -1208,7 +1208,6 @@ pub fn parse_contract_setup_args(
}
None => None,
};
// FUTURE: detect a reversed --receive/--send from the slate state (S1 -> receive, I1 -> send).
Ok(command::ContractSetupArgs {
counterparty_addr: counterparty_addr,