diff options
author | Alex Auvolat <alex@adnab.me> | 2023-01-31 23:57:33 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-01-31 23:57:33 +0100 |
commit | 6df6411b7234c36555e5b38aa7084f641354cce2 (patch) | |
tree | 47c439bcc32ea818fcf225c5d63c29ab6fba47af /examples/fullmesh.rs | |
parent | e4c0be848d50c0480fc54c69074bc8b3f88d83bf (diff) | |
download | netapp-6df6411b7234c36555e5b38aa7084f641354cce2.tar.gz netapp-6df6411b7234c36555e5b38aa7084f641354cce2.zip |
fix clippy
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(); |