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:
Wilmer Paulino 2018-04-03 01:16:10 -04:00
parent 09253eacc3
commit 077b1fffcc
No known key found for this signature in database
GPG Key ID: 6DF57B9F9514972F

@ -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,