mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 22:25:24 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue