From 39094d4472df101ebf783bf2dc547ee11b863cf0 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 26 Sep 2023 16:37:40 +0000 Subject: [PATCH] Correct comment in `shutdown_on_unfunded_channel` which described the script type incorrectly. --- lightning/src/ln/shutdown_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/ln/shutdown_tests.rs b/lightning/src/ln/shutdown_tests.rs index 07bb72ce9..473616936 100644 --- a/lightning/src/ln/shutdown_tests.rs +++ b/lightning/src/ln/shutdown_tests.rs @@ -264,7 +264,7 @@ fn shutdown_on_unfunded_channel() { nodes[0].node.create_channel(nodes[1].node.get_our_node_id(), 1_000_000, 100_000, 0, None).unwrap(); let open_chan = get_event_msg!(nodes[0], MessageSendEvent::SendOpenChannel, nodes[1].node.get_our_node_id()); - // P2WSH + // Create a dummy P2WPKH script let script = Builder::new().push_int(0) .push_slice(&[0; 20]) .into_script(); -- 2.39.5