ZmnSCPxj via Lightning-dev <[email protected]> writes:
> Good morning Cezary,
>
> Currently, c-lightning can PAY amountless invoices via the "pay" command, but
> cannot CREATE them via the c-lightning "invoice" command.
Good point, I've filed an issue for this, so we don't lose it:
https://github.com/ElementsProject/lightning/issues/534
> To pay an amountless invoice lntb... 4 satoshis in c-lightning: lightning-cli
> pay lntb.. 4000
Note that I'd prefer the "msatoshi" field to be a magic string
(eg. "any") rather than omitting the parameter, since it's too easy for
a bug to omit the parameter.
Cheers,
Rusty.
_______________________________________________
Lightning-dev mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev