From 240dd0a9609335e40160330c181830c59f90382e Mon Sep 17 00:00:00 2001 From: Valentine Wallace Date: Wed, 30 Oct 2024 12:36:46 -0400 Subject: [PATCH] Fix outdated comment on PendingOutboundPayment::StaticInvoiceReceived --- lightning/src/ln/outbound_payment.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightning/src/ln/outbound_payment.rs b/lightning/src/ln/outbound_payment.rs index 4ba89ea99..c3fde629a 100644 --- a/lightning/src/ln/outbound_payment.rs +++ b/lightning/src/ln/outbound_payment.rs @@ -2276,8 +2276,8 @@ impl_writeable_tlv_based_enum_upgradable!(PendingOutboundPayment, (2, retry_strategy, required), (4, max_total_routing_fee_msat, option), }, - // Added in 0.0.125. Prior versions will drop these outbounds on downgrade, which is safe because - // no HTLCs are in-flight. + // Added in 0.1. Prior versions will drop these outbounds on downgrade, which is safe because no + // HTLCs are in-flight. (9, StaticInvoiceReceived) => { (0, payment_hash, required), (2, keysend_preimage, required), -- 2.39.5