Merge pull request #2816 from wpaulino/retryable-holder-sigs
[rust-lightning] / lightning / src / ln / async_signer_tests.rs
index 10f4239a188dd225114f1ea06bcb93835aa7fb64..613df570d4e3bf40051d25e59a5d6fa45823dbdb 100644 (file)
@@ -202,7 +202,7 @@ fn test_async_commitment_signature_for_funding_signed_0conf() {
 
        // nodes[0] <-- accept_channel --- nodes[1]
        let accept_channel = get_event_msg!(nodes[1], MessageSendEvent::SendAcceptChannel, nodes[0].node.get_our_node_id());
-       assert_eq!(accept_channel.minimum_depth, 0, "Expected minimum depth of 0");
+       assert_eq!(accept_channel.common_fields.minimum_depth, 0, "Expected minimum depth of 0");
        nodes[0].node.handle_accept_channel(&nodes[1].node.get_our_node_id(), &accept_channel);
 
        // nodes[0] --- funding_created --> nodes[1]