@@ -2983,8 +2983,7 @@ impl_writeable_msg!(CommitmentSigned, {
2983
2983
signature,
2984
2984
htlc_signatures
2985
2985
} , {
2986
- // TOOD(splicing): Change this to 1 once the spec is finalized
2987
- ( 1001 , funding_txid, option) ,
2986
+ ( 1 , funding_txid, option) ,
2988
2987
} ) ;
2989
2988
2990
2989
#[ cfg( taproot) ]
@@ -2993,9 +2992,8 @@ impl_writeable_msg!(CommitmentSigned, {
2993
2992
signature,
2994
2993
htlc_signatures
2995
2994
} , {
2995
+ ( 1 , funding_txid, option) ,
2996
2996
( 2 , partial_signature_with_nonce, option) ,
2997
- // TOOD(splicing): Change this to 1 and reorder once the spec is finalized
2998
- ( 1001 , funding_txid, option) ,
2999
2997
} ) ;
3000
2998
3001
2999
impl_writeable ! ( DecodedOnionErrorPacket , {
@@ -5959,7 +5957,7 @@ mod tests {
5959
5957
} else {
5960
5958
target_value += "0000" ;
5961
5959
}
5962
- target_value += "fd03e9 " ; // Type (funding_txid)
5960
+ target_value += "01 " ; // Type (funding_txid)
5963
5961
target_value += "20" ; // Length (funding_txid)
5964
5962
target_value += "6e96fe9f8b0ddcd729ba03cfafa5a27b050b39d354dd980814268dfa9a44d4c2" ; // Value
5965
5963
assert_eq ! ( encoded_value. as_hex( ) . to_string( ) , target_value) ;
0 commit comments