mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-28 23:16:35 +01:00
Revert "rpcserver: flip inbound bool for display, fix internally later"
This reverts commit 5126e43135 since the
underlying issue has now been fixed.
This commit is contained in:
@@ -1292,7 +1292,7 @@ func (r *rpcServer) ListPeers(ctx context.Context,
|
||||
peer := &lnrpc.Peer{
|
||||
PubKey: hex.EncodeToString(nodePub),
|
||||
Address: serverPeer.conn.RemoteAddr().String(),
|
||||
Inbound: !serverPeer.inbound, // Flip for display
|
||||
Inbound: serverPeer.inbound,
|
||||
BytesRecv: atomic.LoadUint64(&serverPeer.bytesReceived),
|
||||
BytesSent: atomic.LoadUint64(&serverPeer.bytesSent),
|
||||
SatSent: satSent,
|
||||
|
||||
Reference in New Issue
Block a user