Revert "rpcserver: flip inbound bool for display, fix internally later"
This reverts commit 5126e431355ea074404064b91c57732e96d0a1e6 since the underlying issue has now been fixed.
This commit is contained in:
parent
09253eacc3
commit
077b1fffcc
@ -1292,7 +1292,7 @@ func (r *rpcServer) ListPeers(ctx context.Context,
|
|||||||
peer := &lnrpc.Peer{
|
peer := &lnrpc.Peer{
|
||||||
PubKey: hex.EncodeToString(nodePub),
|
PubKey: hex.EncodeToString(nodePub),
|
||||||
Address: serverPeer.conn.RemoteAddr().String(),
|
Address: serverPeer.conn.RemoteAddr().String(),
|
||||||
Inbound: !serverPeer.inbound, // Flip for display
|
Inbound: serverPeer.inbound,
|
||||||
BytesRecv: atomic.LoadUint64(&serverPeer.bytesReceived),
|
BytesRecv: atomic.LoadUint64(&serverPeer.bytesReceived),
|
||||||
BytesSent: atomic.LoadUint64(&serverPeer.bytesSent),
|
BytesSent: atomic.LoadUint64(&serverPeer.bytesSent),
|
||||||
SatSent: satSent,
|
SatSent: satSent,
|
||||||
|
Loading…
Reference in New Issue
Block a user