Skip to content

Commit

Permalink
fix syncstats switch check
Browse files Browse the repository at this point in the history
  • Loading branch information
AionJayT committed Mar 5, 2019
1 parent 0bbf7ce commit 2236209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modAionImpl/src/org/aion/zero/impl/sync/SyncStats.java
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public void updateTotalRequestsToPeer(String nodeId, RequestType type) {
* requests made by the node
*/
Map<String, Float> getPercentageOfRequestsToPeers() {
if (responsesEnabled) {
if (requestsEnabled) {
requestsLock.lock();

try {
Expand Down

0 comments on commit 2236209

Please sign in to comment.