Skip to content

Commit 39094d4

Browse files
committed
Correct comment in shutdown_on_unfunded_channel
which described the script type incorrectly.
1 parent 974ba31 commit 39094d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/shutdown_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ fn shutdown_on_unfunded_channel() {
264264
nodes[0].node.create_channel(nodes[1].node.get_our_node_id(), 1_000_000, 100_000, 0, None).unwrap();
265265
let open_chan = get_event_msg!(nodes[0], MessageSendEvent::SendOpenChannel, nodes[1].node.get_our_node_id());
266266

267-
// P2WSH
267+
// Create a dummy P2WPKH script
268268
let script = Builder::new().push_int(0)
269269
.push_slice(&[0; 20])
270270
.into_script();

0 commit comments

Comments
 (0)