diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/basalt.rs | 2 | ||||
-rw-r--r-- | examples/fullmesh.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/basalt.rs b/examples/basalt.rs index 5628056..318e37c 100644 --- a/examples/basalt.rs +++ b/examples/basalt.rs @@ -94,7 +94,7 @@ async fn main() { info!("KYEV SK {}", hex::encode(&privkey)); info!("KYEV PK {}", hex::encode(&privkey.public_key())); - let netapp = NetApp::new(netid, privkey); + let netapp = NetApp::new(0u64, netid, privkey); let mut bootstrap_peers = vec![]; for peer in opt.bootstrap_peers.iter() { diff --git a/examples/fullmesh.rs b/examples/fullmesh.rs index afc4deb..b068410 100644 --- a/examples/fullmesh.rs +++ b/examples/fullmesh.rs @@ -71,7 +71,7 @@ async fn main() { info!("Node public address: {:?}", public_addr); info!("Node listen address: {}", listen_addr); - let netapp = NetApp::new(netid.clone(), privkey.clone()); + let netapp = NetApp::new(0u64, netid.clone(), privkey.clone()); let mut bootstrap_peers = vec![]; for peer in opt.bootstrap_peers.iter() { |