mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
Minor typo fix and mut cleanup
This commit is contained in:
parent
28985bad55
commit
8693764488
3 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue