Rusty Russell [ARCHIVE] on Nostr: 📅 Original date posted:2018-01-09 📝 Original message: ZmnSCPxj via ...
📅 Original date posted:2018-01-09
📝 Original message:
ZmnSCPxj via Lightning-dev <lightning-dev at lists.linuxfoundation.org> 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.
📝 Original message:
ZmnSCPxj via Lightning-dev <lightning-dev at lists.linuxfoundation.org> 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.