From: Valentine Wallace Date: Wed, 30 Oct 2024 16:36:46 +0000 (-0400) Subject: Fix outdated comment on PendingOutboundPayment::StaticInvoiceReceived X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=240dd0a9609335e40160330c181830c59f90382e;p=rust-lightning Fix outdated comment on PendingOutboundPayment::StaticInvoiceReceived --- 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),