Merge pull request #627 from cfromknecht/invert-inboud-display
rpcserver: flip inbound bool for display, fix internally later
This commit is contained in:
commit
0d09f7a32a
@ -1235,7 +1235,7 @@ func (r *rpcServer) ListPeers(ctx context.Context,
|
||||
PubKey: hex.EncodeToString(nodePub),
|
||||
PeerId: serverPeer.id,
|
||||
Address: serverPeer.conn.RemoteAddr().String(),
|
||||
Inbound: serverPeer.inbound,
|
||||
Inbound: !serverPeer.inbound, // Flip for display
|
||||
BytesRecv: atomic.LoadUint64(&serverPeer.bytesReceived),
|
||||
BytesSent: atomic.LoadUint64(&serverPeer.bytesSent),
|
||||
SatSent: satSent,
|
||||
|
Loading…
Reference in New Issue
Block a user