Skip to content

Commit d3e9d27

Browse files
committed
cmd/litcli: add payment flags back
Some flags that didn't make sense were removed when cleaning up the keysend usecase, but some of them are still useful and we add them back.
1 parent 7c21c62 commit d3e9d27

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

cmd/litcli/ln.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,18 @@ var sendPaymentCommand = cli.Command{
374374
Name: "force, f",
375375
Usage: "will skip payment request confirmation",
376376
},
377+
cli.BoolFlag{
378+
Name: "allow_self_payment",
379+
Usage: "allow sending a circular payment to self",
380+
},
381+
cli.StringFlag{
382+
Name: "data",
383+
Usage: "attach custom data to the payment. The " +
384+
"required format is: <record_id>=<hex_value>," +
385+
"<record_id>=<hex_value>,.. For example: " +
386+
"--data 3438382=0a21ff. Custom record ids " +
387+
"start from 65536.",
388+
},
377389
cli.UintFlag{
378390
Name: "max_parts",
379391
Usage: "the maximum number of partial payments that " +

0 commit comments

Comments
 (0)