From rusty at rustcorp.com.au Tue Jan 9 04:31:01 2018 From: rusty at rustcorp.com.au (Rusty Russell) Date: Tue, 09 Jan 2018 15:01:01 +1030 Subject: [Lightning-dev] Invoice without amount In-Reply-To: References: Message-ID: <87incbtzzu.fsf@rustcorp.com.au> ZmnSCPxj via Lightning-dev 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.