mark invoice as paid when we detect an on-chain payment to a fallback

This commit is contained in:
Chris Guida 2023-10-26 14:02:13 +10:30 committed by Rusty Russell
parent 8bbf2342f7
commit 8c03dd8161

View File

@ -990,7 +990,7 @@ void invoice_check_onchain_payment(struct lightningd *ld,
return;
}
// invoice_try_pay(...);
invoice_try_pay(ld, NULL, details, msat, outpoint);
}
/* Since this is a dev-only option, we will crash if dev-routes is not