Skip to content

Commit 0cd70fa

Browse files
fixup! Un-cfg-gate StaticInvoices
Signed-off-by: Vincenzo Palazzo <[email protected]>
1 parent af12e91 commit 0cd70fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/outbound_payment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ impl OutboundPayments {
11141114
.as_ref()
11151115
.ok_or(Bolt12PaymentError::UnexpectedInvoice)?
11161116
.invoice_request;
1117-
if !invoice.from_same_offer(invreq) {
1117+
if !invoice.build_from_same_offer(invreq) {
11181118
return Err(Bolt12PaymentError::UnexpectedInvoice)
11191119
}
11201120
if invoice.invoice_features().requires_unknown_bits_from(&features) {

0 commit comments

Comments
 (0)