From: Chris Waterson Date: Tue, 17 Oct 2023 01:02:00 +0000 (-0700) Subject: Don't assert on count; assert on message X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=dfacf25242d38bd4d4702e21432de147f28fd9c3;p=rust-lightning Don't assert on count; assert on message --- diff --git a/lightning/src/ln/async_signer_tests.rs b/lightning/src/ln/async_signer_tests.rs index 6edd70440..5013e8f5b 100644 --- a/lightning/src/ln/async_signer_tests.rs +++ b/lightning/src/ln/async_signer_tests.rs @@ -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)