pay: Fix a non-rebased PR merge error

Looks like there was a PR that was merged without being rebased on top of
master first. Don't to that!

Changelog-None
This commit is contained in:
Christian Decker 2023-07-26 12:28:37 +02:00
parent 978c1699ea
commit bc59bb71fa

View File

@ -1515,7 +1515,7 @@ static struct command_result *self_payment(struct lightningd *ld,
/* These should not fail, given the above succeded! */
if (!invoices_find_by_rhash(ld->wallet->invoices, &inv_dbid, rhash)
|| !invoices_resolve(ld->wallet->invoices, inv_dbid, msat)) {
|| !invoices_resolve(ld->wallet->invoices, inv_dbid, msat, NULL)) {
log_broken(ld->log, "Could not resolve invoice %"PRIu64"!?!", inv_dbid);
return sendpay_fail(cmd, payment, PAY_DESTINATION_PERM_FAIL, NULL, NULL, "broken");
}