mirror of
https://github.com/Qortal/qortal.git
synced 2025-02-14 11:15:49 +00:00
Fixed bug in GET /peers/summary API
This commit is contained in:
parent
8d7be7757f
commit
8673c7ef6e
@ -354,7 +354,7 @@ public class PeersResource {
|
||||
|
||||
List<Peer> connectedPeers = Network.getInstance().getConnectedPeers().stream().collect(Collectors.toList());
|
||||
for (Peer peer : connectedPeers) {
|
||||
if (peer.isOutbound()) {
|
||||
if (!peer.isOutbound()) {
|
||||
peersSummary.inboundConnections++;
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user