@@ -203,11 +203,11 @@ impl CounterpartyOfferedHTLCOutput {
203203
204204impl_writeable_tlv_based ! ( CounterpartyOfferedHTLCOutput , {
205205 ( 0 , per_commitment_point, required) ,
206- ( 1 , opt_anchors, option) ,
207206 ( 2 , counterparty_delayed_payment_base_key, required) ,
208207 ( 4 , counterparty_htlc_base_key, required) ,
209208 ( 6 , preimage, required) ,
210209 ( 8 , htlc, required) ,
210+ ( 10 , opt_anchors, option) ,
211211} ) ;
212212
213213/// A struct to describe a HTLC output on a counterparty commitment transaction.
@@ -241,10 +241,10 @@ impl CounterpartyReceivedHTLCOutput {
241241
242242impl_writeable_tlv_based ! ( CounterpartyReceivedHTLCOutput , {
243243 ( 0 , per_commitment_point, required) ,
244- ( 1 , opt_anchors, option) ,
245244 ( 2 , counterparty_delayed_payment_base_key, required) ,
246245 ( 4 , counterparty_htlc_base_key, required) ,
247246 ( 6 , htlc, required) ,
247+ ( 8 , opt_anchors, option) ,
248248} ) ;
249249
250250/// A struct to describe a HTLC output on holder commitment transaction.
@@ -318,7 +318,7 @@ impl HolderFundingOutput {
318318
319319impl_writeable_tlv_based ! ( HolderFundingOutput , {
320320 ( 0 , funding_redeemscript, required) ,
321- ( 1 , opt_anchors, option) ,
321+ ( 2 , opt_anchors, option) ,
322322 ( 3 , funding_amount, option) ,
323323} ) ;
324324
0 commit comments