mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-21 00:58:32 +02:00
Make contract slatepack encryption optional
--encrypt-for is no longer required. `contract new` without it produces an unencrypted slatepack; `contract sign` without it replies to the incoming slate's sender when known, otherwise unencrypted. Passing --encrypt-for is unchanged. The slatepack layer already produced plaintext for an empty recipient list — this only removes the CLI-side requirement.
This commit is contained in:
@@ -452,7 +452,7 @@ subcommands:
|
||||
about: Create a new contract with initial setup
|
||||
args:
|
||||
- encrypt-for:
|
||||
help: The counter party grin address
|
||||
help: The counter party grin address (optional; omit to produce an unencrypted slatepack)
|
||||
short: e
|
||||
long: encrypt-for
|
||||
takes_value: true
|
||||
@@ -544,7 +544,7 @@ subcommands:
|
||||
about: Sign a contract
|
||||
args:
|
||||
- encrypt-for:
|
||||
help: The counter party grin address
|
||||
help: The counter party grin address (optional; defaults to the slate sender, else unencrypted)
|
||||
short: e
|
||||
long: encrypt-for
|
||||
takes_value: true
|
||||
|
||||
Reference in New Issue
Block a user