diff options
Diffstat (limited to 'examples/fullmesh.rs')
-rw-r--r-- | examples/fullmesh.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/fullmesh.rs b/examples/fullmesh.rs index d0190ef..5bbde73 100644 --- a/examples/fullmesh.rs +++ b/examples/fullmesh.rs @@ -72,7 +72,7 @@ async fn main() { }; info!("Node private key: {}", hex::encode(&privkey)); - info!("Node public key: {}", hex::encode(&privkey.public_key())); + info!("Node public key: {}", hex::encode(privkey.public_key())); let public_addr = opt.public_addr.map(|x| x.parse().unwrap()); let listen_addr: SocketAddr = opt.listen_addr.parse().unwrap(); @@ -94,7 +94,7 @@ async fn main() { info!("Add more peers to this mesh by running: fullmesh -n {} -l 127.0.0.1:$((1000 + $RANDOM)) -b {}@{}", hex::encode(&netid), - hex::encode(&privkey.public_key()), + hex::encode(privkey.public_key()), listen_addr); let watch_cancel = netapp::util::watch_ctrl_c(); |