client: fix logical inverse in is_recently_connected indicator
thanks @strohel!!pull/153/head
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