From bc59bb71fad97f1932d98a4187690b23c995cf4e Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Wed, 26 Jul 2023 12:28:37 +0200 Subject: [PATCH] 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 --- lightningd/pay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightningd/pay.c b/lightningd/pay.c index 045d01738..0dd517317 100644 --- a/lightningd/pay.c +++ b/lightningd/pay.c @@ -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"); }