diff options
author | Alex Auvolat <alex@adnab.me> | 2022-02-21 16:43:17 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-02-21 16:43:17 +0100 |
commit | 8858c9428936534ef2b62d73283cd800f4b838d6 (patch) | |
tree | e3569aaabad79f14093b1e140c88770676840dea /examples | |
parent | 96a3cc1e1f5c0c4e73ad1036a7e0add19d9a197e (diff) | |
download | netapp-8858c9428936534ef2b62d73283cd800f4b838d6.tar.gz netapp-8858c9428936534ef2b62d73283cd800f4b838d6.zip |
Implement version tag for application as well
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() { |