Minor typo fix and mut cleanup
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user