]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Don't assert on count; assert on message
authorChris Waterson <waterson@gmail.com>
Tue, 17 Oct 2023 01:02:00 +0000 (18:02 -0700)
committerChris Waterson <waterson@gmail.com>
Wed, 25 Oct 2023 16:40:33 +0000 (09:40 -0700)
lightning/src/ln/async_signer_tests.rs

index 6edd70440839297d86895f7534907f956ab7a8fa..5013e8f5bc38d2ef6d8061e1dab143e7c3da4c17 100644 (file)
@@ -232,7 +232,6 @@ fn test_funding_signed_0conf() {
 
        let (funding_signed, channel_ready_1) = {
                let events = nodes[1].node.get_and_clear_pending_msg_events();
-               assert_eq!(events.len(), 2);
                let funding_signed = match &events[0] {
                        MessageSendEvent::SendFundingSigned { msg, .. } => msg.clone(),
                        ev => panic!("Expected SendFundingSigned, not {:?}", ev)