From: Matt Corallo Date: Tue, 26 Sep 2023 16:37:40 +0000 (+0000) Subject: Correct comment in `shutdown_on_unfunded_channel` X-Git-Tag: v0.0.117-rc1~11^2~1 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=39094d4472df101ebf783bf2dc547ee11b863cf0;p=rust-lightning Correct comment in `shutdown_on_unfunded_channel` which described the script type incorrectly. --- diff --git a/lightning/src/ln/shutdown_tests.rs b/lightning/src/ln/shutdown_tests.rs index 07bb72ce..47361693 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();