File tree Expand file tree Collapse file tree 6 files changed +851
-9
lines changed Expand file tree Collapse file tree 6 files changed +851
-9
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ GEN_TEST lightning::ln::msgs::UpdateFailHTLC test_msg_simple ""
3333GEN_TEST lightning::ln::msgs::UpdateFailMalformedHTLC test_msg_simple " "
3434GEN_TEST lightning::ln::msgs::UpdateFee test_msg_simple " "
3535GEN_TEST lightning::ln::msgs::UpdateFulfillHTLC test_msg_simple " "
36+ GEN_TEST lightning::ln::msgs::ChannelReestablish test_msg_simple " "
3637
37- GEN_TEST lightning::ln::msgs::ChannelReestablish test_msg " "
3838GEN_TEST lightning::ln::msgs::DecodedOnionErrorPacket test_msg " "
3939
4040GEN_TEST lightning::ln::msgs::ChannelAnnouncement test_msg_exact " "
Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ use crate::utils::test_logger;
1515
1616#[ inline]
1717pub fn msg_channel_reestablish_test < Out : test_logger:: Output > ( data : & [ u8 ] , _out : Out ) {
18- test_msg ! ( lightning:: ln:: msgs:: ChannelReestablish , data) ;
18+ test_msg_simple ! ( lightning:: ln:: msgs:: ChannelReestablish , data) ;
1919}
2020
2121#[ no_mangle]
2222pub extern "C" fn msg_channel_reestablish_run ( data : * const u8 , datalen : usize ) {
2323 let data = unsafe { std:: slice:: from_raw_parts ( data, datalen) } ;
24- test_msg ! ( lightning:: ln:: msgs:: ChannelReestablish , data) ;
24+ test_msg_simple ! ( lightning:: ln:: msgs:: ChannelReestablish , data) ;
2525}
Original file line number Diff line number Diff line change @@ -5695,6 +5695,9 @@ impl<Signer: WriteableEcdsaChannelSigner> Channel<Signer> {
56955695 next_remote_commitment_number : INITIAL_COMMITMENT_NUMBER - self . cur_counterparty_commitment_transaction_number - 1 ,
56965696 your_last_per_commitment_secret : remote_last_secret,
56975697 my_current_per_commitment_point : dummy_pubkey,
5698+ // TODO(dual_funding): If we've sent `commtiment_signed` for an interactive transaction construction but have not received `tx_signatures`
5699+ // we MUST set `next_funding_txid` to the txid of that interactive transaction, else we MUST NOT set it.
5700+ next_funding_txid : None ,
56985701 }
56995702 }
57005703
You can’t perform that action at this time.
0 commit comments