network restractor
@@ -19,9 +19,9 @@ public class TxInfoComparator implements Comparator<TransactionInfo> {
@Override
public int compare(TransactionInfo o1, TransactionInfo o2) {
if (o1.getTime() < o2.getTime()) {
- return -1;
- } else if (o1.getTime() > o2.getTime()) {
return 1;
+ } else if (o1.getTime() > o2.getTime()) {
+ return -1;
}
return 0;
}
