mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
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:
parent
978c1699ea
commit
bc59bb71fa
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user