From 7ceebccbfac4fa72894155baa34168c30acecbc1 Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Tue, 14 Sep 2021 22:33:49 +0900 Subject: [PATCH] client: fix logical inverse in is_recently_connected indicator thanks @strohel!! --- client/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main.rs b/client/src/main.rs index b0a314f..92c78d2 100644 --- a/client/src/main.rs +++ b/client/src/main.rs @@ -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!(