Add direction in grin client listconnectedpeers (#854)

This commit is contained in:
Quentin Le Sceller
2018-03-23 13:54:29 -04:00
committed by Ignotus Peverell
parent 035f60dfb4
commit b61d3f07d9
+1
View File
@@ -91,6 +91,7 @@ pub fn list_connected_peers(config: &ServerConfig) {
writeln!(e, "Version: {}", connected_peer.version).unwrap();
writeln!(e, "Peer address: {}", connected_peer.addr).unwrap();
writeln!(e, "Total difficulty: {}", connected_peer.total_difficulty).unwrap();
writeln!(e, "Direction: {:?}", connected_peer.direction).unwrap();
println!();
index = index + 1;
}