diff --git a/README.md b/README.md index 1d52953a4..01a150772 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ fn main() { let node_id = PublicKey::from_str("NODE_ID").unwrap(); let node_addr = NetAddress::from_str("IP_ADDR:PORT").unwrap(); - node.connect_open_channel(node_id, node_addr, 10000, None, false).unwrap(); + node.connect_open_channel(node_id, node_addr, 10000, None, None, false).unwrap(); let event = node.wait_next_event(); println!("EVENT: {:?}", event);