plugin/offers: connect if necessary for replying to invoice_request.
You can disable this with `fetchinvoice-noconnect`. Changelog-EXPERIMENTAL: We will now reply to invoice_request messages even if reply path requires us to make an outgoing connection (LDK does this) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -7,6 +7,7 @@ extern u16 cltv_final;
|
||||
extern u32 blockheight;
|
||||
extern struct secret invoicesecret_base;
|
||||
extern struct pubkey id;
|
||||
extern bool disable_connect;
|
||||
|
||||
/* We got an onionmessage with an invreq! */
|
||||
struct command_result *handle_invoice_request(struct command *cmd,
|
||||
|
||||
Reference in New Issue
Block a user