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 ""
33
33
GEN_TEST lightning::ln::msgs::UpdateFailMalformedHTLC test_msg_simple " "
34
34
GEN_TEST lightning::ln::msgs::UpdateFee test_msg_simple " "
35
35
GEN_TEST lightning::ln::msgs::UpdateFulfillHTLC test_msg_simple " "
36
+ GEN_TEST lightning::ln::msgs::ChannelReestablish test_msg_simple " "
36
37
37
- GEN_TEST lightning::ln::msgs::ChannelReestablish test_msg " "
38
38
GEN_TEST lightning::ln::msgs::DecodedOnionErrorPacket test_msg " "
39
39
40
40
GEN_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;
15
15
16
16
#[ inline]
17
17
pub 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) ;
19
19
}
20
20
21
21
#[ no_mangle]
22
22
pub extern "C" fn msg_channel_reestablish_run ( data : * const u8 , datalen : usize ) {
23
23
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) ;
25
25
}
Original file line number Diff line number Diff line change @@ -5695,6 +5695,9 @@ impl<Signer: WriteableEcdsaChannelSigner> Channel<Signer> {
5695
5695
next_remote_commitment_number : INITIAL_COMMITMENT_NUMBER - self . cur_counterparty_commitment_transaction_number - 1 ,
5696
5696
your_last_per_commitment_secret : remote_last_secret,
5697
5697
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 ,
5698
5701
}
5699
5702
}
5700
5703
You can’t perform that action at this time.
0 commit comments