mirror of
https://github.com/tonarino/innernet.git
synced 2024-11-28 08:58:37 +02:00
client: fix logical inverse in is_recently_connected indicator
thanks @strohel!!
This commit is contained in:
parent
2a640fd9b2
commit
7ceebccbfa
@ -1006,7 +1006,7 @@ fn print_peer(peer: &PeerState, short: bool, level: usize) {
|
||||
let PeerState { peer, info } = peer;
|
||||
if short {
|
||||
let connected = info
|
||||
.map(|info| !info.is_recently_connected())
|
||||
.map(|info| info.is_recently_connected())
|
||||
.unwrap_or_default();
|
||||
|
||||
println_pad!(
|
||||
|
Loading…
Reference in New Issue
Block a user