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:
Wilmer Paulino committed 2018-06-06 16:30:41 -07:00
1 parent 09253eacc3
commit 077b1fffcc
1 file changed
+1 -1
+1 -1
View File
@@ -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,