Skip to content

Commit

Permalink
Revert "rpcserver: flip inbound bool for display, fix internally later"
Browse files Browse the repository at this point in the history
This reverts commit 5126e43 since the
underlying issue has now been fixed.
  • Loading branch information
wpaulino committed Jun 6, 2018
1 parent 09253ea commit 077b1ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcserver.go
Expand Up @@ -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,
Expand Down

0 comments on commit 077b1ff

Please sign in to comment.