diff --git a/p2p/src/peers.rs b/p2p/src/peers.rs index 0e8ccb9b7..aea5bf024 100644 --- a/p2p/src/peers.rs +++ b/p2p/src/peers.rs @@ -641,7 +641,7 @@ impl NetAdapter for Peers { fn is_banned(&self, addr: SocketAddr) -> bool { if let Some(peer) = self.get_connected_peer(&addr) { - let mut peer = peer.write().unwrap(); + let peer = peer.write().unwrap(); peer.is_banned() } else { false diff --git a/src/bin/tui/mining.rs b/src/bin/tui/mining.rs index 94fe149df..4ff2b6811 100644 --- a/src/bin/tui/mining.rs +++ b/src/bin/tui/mining.rs @@ -298,7 +298,7 @@ impl TUIStatusListener for TUIMiningView { ) } else if stats.mining_stats.combined_gps == 0.0 { ( - "Mining Status: Starting miner and awating first solution...".to_string(), + "Mining Status: Starting miner and awaiting first solution...".to_string(), " ".to_string(), ) } else { diff --git a/src/bin/tui/status.rs b/src/bin/tui/status.rs index 529f0ca14..97b5d024e 100644 --- a/src/bin/tui/status.rs +++ b/src/bin/tui/status.rs @@ -97,7 +97,7 @@ impl TUIStatusListener for TUIStatusView { ) } else if stats.mining_stats.combined_gps == 0.0 { ( - "Mining Status: Starting miner and awating first solution...".to_string(), + "Mining Status: Starting miner and awaiting first solution...".to_string(), " ".to_string(), ) } else {