Skip to content

Commit

Permalink
mark invoice as paid when we detect an on-chain payment to a fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguida authored and rustyrussell committed Oct 26, 2023
1 parent 32b678c commit d3ea451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightningd/invoice.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d3ea451

Please sign in to comment.