]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Correct comment in `shutdown_on_unfunded_channel`
authorMatt Corallo <git@bluematt.me>
Tue, 26 Sep 2023 16:37:40 +0000 (16:37 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 26 Sep 2023 16:37:40 +0000 (16:37 +0000)
which described the script type incorrectly.

lightning/src/ln/shutdown_tests.rs

index 07bb72ce9cb7036179adff1083b23d39b1c76ea3..47361693693db731a85dee326f85ca54eeecad5f 100644 (file)
@@ -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();