mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-12-03 20:33:59 +01:00
infer amount when signing contracts
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user