mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
Add direction in grin client listconnectedpeers (#854)
This commit is contained in:
parent
035f60dfb4
commit
b61d3f07d9
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue