rgb-cln/lightningd/test
Rusty Russell 6630b99cf7 lightningd: move local invoice resolution into invoice.c function.
We're going to make it async, so start by moving the core code into
invoice.c and having that directly call fail/success functions for the
htlc.

We add an extra check in fulfill_htlc() that the HTLC state is correct:
that can't happen now, but may once we're async.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-04-12 03:32:48 +00:00
..
Makefile daemons: use amount_msat/amount_sat in all internal wire transfers. 2019-02-21 08:01:37 +00:00
run-find_my_abspath.c pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
run-invoice-select-inchan.c lightningd: move local invoice resolution into invoice.c function. 2019-04-12 03:32:48 +00:00
run-jsonrpc.c lightningd: don't bother pretty-printing JSON. 2019-04-09 12:37:16 -07:00