@@ -2009,17 +2009,23 @@ impl_writeable_tlv_based_enum_upgradable!(PendingOutboundPayment,
2009
2009
( 1 , reason, option) ,
2010
2010
( 2 , payment_hash, required) ,
2011
2011
} ,
2012
+ // Added in 0.0.123. Prior versions will drop these outbounds on downgrade, which is safe because
2013
+ // no HTLCs are in-flight.
2012
2014
( 5 , AwaitingInvoice ) => {
2013
2015
( 0 , expiration, required) ,
2014
2016
( 1 , invoice_request, option) ,
2015
2017
( 2 , retry_strategy, required) ,
2016
2018
( 4 , max_total_routing_fee_msat, option) ,
2017
2019
} ,
2020
+ // Added in 0.0.123. Prior versions will drop these outbounds on downgrade, which is safe because
2021
+ // no HTLCs are in-flight.
2018
2022
( 7 , InvoiceReceived ) => {
2019
2023
( 0 , payment_hash, required) ,
2020
2024
( 2 , retry_strategy, required) ,
2021
2025
( 4 , max_total_routing_fee_msat, option) ,
2022
2026
} ,
2027
+ // Added in 0.0.124. Prior versions will drop these outbounds on downgrade, which is safe because
2028
+ // no HTLCs are in-flight.
2023
2029
( 9 , StaticInvoiceReceived ) => {
2024
2030
( 0 , payment_hash, required) ,
2025
2031
( 2 , keysend_preimage, required) ,
0 commit comments