Skip to content

Commit

Permalink
Merge branch 'master-pre-merge' into rearchitect-repo
Browse files Browse the repository at this point in the history
  • Loading branch information
AionJayT authored Mar 12, 2019
2 parents d8d47c8 + ff9820d commit 3e5323f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
import java.io.File;
import java.math.BigInteger;
import java.security.SecureRandom;
import java.util.*;

import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.aion.types.Address;
import org.aion.crypto.ECKey;
import org.aion.crypto.HashUtil;
Expand Down

0 comments on commit 3e5323f

Please sign in to comment.