Skip to content

Commit 338356b

Browse files
fixup! store static invoice inside the PendingOutboundPayment::StaticInvoiceReceived
Signed-off-by: Vincenzo Palazzo <[email protected]>
1 parent b83aa6d commit 338356b

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
@@ -1203,7 +1203,7 @@ impl OutboundPayments {
12031203
},
12041204
hash_map::Entry::Vacant(_) => return Err(Bolt12PaymentError::UnexpectedInvoice),
12051205
};
1206-
let invoice = PaidInvoice::StaticInvoice(invoice);
1206+
let invoice = PaidBolt12Invoice::StaticInvoice(invoice);
12071207
self.send_payment_for_bolt12_invoice_internal(
12081208
payment_id, payment_hash, Some(keysend_preimage), Some(&invoice_request), Some(invoice), route_params,
12091209
retry_strategy, router, first_hops, inflight_htlcs, entropy_source, node_signer,

0 commit comments

Comments
 (0)