client: fix logical inverse in is_recently_connected indicator

thanks @strohel!!
pull/153/head
Jake McGinty 2021-09-14 22:33:49 +09:00
parent 2a640fd9b2
commit 7ceebccbfa
1 changed files with 1 additions and 1 deletions

View File

@ -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!(