@@ -203,11 +203,11 @@ impl CounterpartyOfferedHTLCOutput {
203
203
204
204
impl_writeable_tlv_based ! ( CounterpartyOfferedHTLCOutput , {
205
205
( 0 , per_commitment_point, required) ,
206
- ( 1 , opt_anchors, option) ,
207
206
( 2 , counterparty_delayed_payment_base_key, required) ,
208
207
( 4 , counterparty_htlc_base_key, required) ,
209
208
( 6 , preimage, required) ,
210
209
( 8 , htlc, required) ,
210
+ ( 10 , opt_anchors, option) ,
211
211
} ) ;
212
212
213
213
/// A struct to describe a HTLC output on a counterparty commitment transaction.
@@ -241,10 +241,10 @@ impl CounterpartyReceivedHTLCOutput {
241
241
242
242
impl_writeable_tlv_based ! ( CounterpartyReceivedHTLCOutput , {
243
243
( 0 , per_commitment_point, required) ,
244
- ( 1 , opt_anchors, option) ,
245
244
( 2 , counterparty_delayed_payment_base_key, required) ,
246
245
( 4 , counterparty_htlc_base_key, required) ,
247
246
( 6 , htlc, required) ,
247
+ ( 8 , opt_anchors, option) ,
248
248
} ) ;
249
249
250
250
/// A struct to describe a HTLC output on holder commitment transaction.
@@ -318,7 +318,7 @@ impl HolderFundingOutput {
318
318
319
319
impl_writeable_tlv_based ! ( HolderFundingOutput , {
320
320
( 0 , funding_redeemscript, required) ,
321
- ( 1 , opt_anchors, option) ,
321
+ ( 2 , opt_anchors, option) ,
322
322
( 3 , funding_amount, option) ,
323
323
} ) ;
324
324
0 commit comments