aboutsummaryrefslogtreecommitdiff
path: root/p2p/src/peer
diff options
context:
space:
mode:
Diffstat (limited to 'p2p/src/peer')
-rw-r--r--p2p/src/peer/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/src/peer/mod.rs b/p2p/src/peer/mod.rs
index b4cfd3a..0d42da3 100644
--- a/p2p/src/peer/mod.rs
+++ b/p2p/src/peer/mod.rs
@@ -124,7 +124,7 @@ impl Peer {
// No need to handle the error here
let shutdown_msg =
- NetMsg::new(NetMsgCmd::Shutdown, &ShutdownMsg(0)).expect("pack shutdown message");
+ NetMsg::new(NetMsgCmd::Shutdown, ShutdownMsg(0)).expect("pack shutdown message");
let _ = self.conn.send(shutdown_msg).await;
// Force shutting down