You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 0024 3d00000000000000000000000000000000000000000000000000000000000000 020800000000000000000000000000000000000000000000000000000000000000 03000000000000000000000000000000 - funding_locked and mac
747
+
// 0024 3d00000000000000000000000000000000000000000000000000000000000000 020800000000000000000000000000000000000000000000000000000000000000 03000000000000000000000000000000 - channel_ready and mac
748
748
//
749
749
// 01 - new inbound connection with id 1
750
750
// 030132 - inbound read from peer id 1 of len 50
@@ -775,12 +775,12 @@ mod tests {
775
775
// 0023 3a00000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000007c0001000000000000000000000000000000000000000000000000000000000000 01000000000000000000000000000000 - funding_signed message and mac
776
776
//
777
777
// 0b - broadcast funding transaction
778
-
// - by now client should have sent a funding_locked (CHECK 4: SendFundingLocked to 03020000 for chan 3f000000)
778
+
// - by now client should have sent a channel_ready (CHECK 4: SendChannelReady to 03020000 for chan 3f000000)
// 0024 3a00000000000000000000000000000000000000000000000000000000000000 026700000000000000000000000000000000000000000000000000000000000000 01000000000000000000000000000000 - funding_locked and mac
783
+
// 0024 3a00000000000000000000000000000000000000000000000000000000000000 026700000000000000000000000000000000000000000000000000000000000000 01000000000000000000000000000000 - channel_ready and mac
assert_eq!(log_entries.get(&("lightning::ln::peer_handler".to_string(),"Handling SendAcceptChannel event in peer_handler for node 030000000000000000000000000000000000000000000000000000000000000002 for channel ff4f00f805273c1b203bb5ebf8436bfde57b3be8c2f5e95d9491dbb181909679".to_string())),Some(&1));// 1
966
966
assert_eq!(log_entries.get(&("lightning::ln::peer_handler".to_string(),"Handling SendFundingSigned event in peer_handler for node 030000000000000000000000000000000000000000000000000000000000000002 for channel 3d00000000000000000000000000000000000000000000000000000000000000".to_string())),Some(&1));// 2
967
-
assert_eq!(log_entries.get(&("lightning::ln::peer_handler".to_string(),"Handling SendFundingLocked event in peer_handler for node 030000000000000000000000000000000000000000000000000000000000000002 for channel 3d00000000000000000000000000000000000000000000000000000000000000".to_string())),Some(&1));// 3
968
-
assert_eq!(log_entries.get(&("lightning::ln::peer_handler".to_string(),"Handling SendFundingLocked event in peer_handler for node 030200000000000000000000000000000000000000000000000000000000000000 for channel 3a00000000000000000000000000000000000000000000000000000000000000".to_string())),Some(&1));// 4
967
+
assert_eq!(log_entries.get(&("lightning::ln::peer_handler".to_string(),"Handling SendChannelReady event in peer_handler for node 030000000000000000000000000000000000000000000000000000000000000002 for channel 3d00000000000000000000000000000000000000000000000000000000000000".to_string())),Some(&1));// 3
968
+
assert_eq!(log_entries.get(&("lightning::ln::peer_handler".to_string(),"Handling SendChannelReady event in peer_handler for node 030200000000000000000000000000000000000000000000000000000000000000 for channel 3a00000000000000000000000000000000000000000000000000000000000000".to_string())),Some(&1));// 4
969
969
assert_eq!(log_entries.get(&("lightning::ln::peer_handler".to_string(),"Handling SendRevokeAndACK event in peer_handler for node 030000000000000000000000000000000000000000000000000000000000000002 for channel 3d00000000000000000000000000000000000000000000000000000000000000".to_string())),Some(&4));// 5
970
970
assert_eq!(log_entries.get(&("lightning::ln::peer_handler".to_string(),"Handling UpdateHTLCs event in peer_handler for node 030000000000000000000000000000000000000000000000000000000000000002 with 0 adds, 0 fulfills, 0 fails for channel 3d00000000000000000000000000000000000000000000000000000000000000".to_string())),Some(&3));// 6
971
971
assert_eq!(log_entries.get(&("lightning::ln::peer_handler".to_string(),"Handling UpdateHTLCs event in peer_handler for node 030200000000000000000000000000000000000000000000000000000000000000 with 1 adds, 0 fulfills, 0 fails for channel 3a00000000000000000000000000000000000000000000000000000000000000".to_string())),Some(&3));// 7
0 commit comments