mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Correct comment in shutdown_on_unfunded_channel
which described the script type incorrectly.
This commit is contained in:
parent
974ba314a2
commit
39094d4472
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
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());
|
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)
|
let script = Builder::new().push_int(0)
|
||||||
.push_slice(&[0; 20])
|
.push_slice(&[0; 20])
|
||||||
.into_script();
|
.into_script();
|
||||||
|
|
Loading…
Add table
Reference in a new issue