Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions framework/src/main/java/org/tron/core/config/args/Args.java
Original file line number Diff line number Diff line change
Expand Up @@ -746,10 +746,10 @@ public static void setParam(final String[] args, final String confFileName) {
PARAMETER.historyBalanceLookup = config.hasPath(Constant.HISTORY_BALANCE_LOOKUP) && config
.getBoolean(Constant.HISTORY_BALANCE_LOOKUP);

PARAMETER.openPrintLog = config.hasPath(Constant.OPEN_PRINT_LOG) ? config
.getBoolean(Constant.OPEN_PRINT_LOG) : true;
PARAMETER.openTransactionSort = config.hasPath(Constant.OPEN_TRANSACTION_SORT) ? config
.getBoolean(Constant.OPEN_TRANSACTION_SORT) : false;
PARAMETER.openPrintLog = config.hasPath(Constant.OPEN_PRINT_LOG) && config
.getBoolean(Constant.OPEN_PRINT_LOG);
PARAMETER.openTransactionSort = config.hasPath(Constant.OPEN_TRANSACTION_SORT) && config
.getBoolean(Constant.OPEN_TRANSACTION_SORT);

logConfig();
}
Expand Down
2 changes: 1 addition & 1 deletion framework/src/main/java/org/tron/core/db/Manager.java
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ public void stopRePushTriggerThread() {
isRunTriggerCapsuleProcessThread = false;
}

Comparator downComparator = (Comparator<TransactionCapsule>) (o1, o2) -> Long
private Comparator downComparator = (Comparator<TransactionCapsule>) (o1, o2) -> Long
.compare(o2.getOrder(), o1.getOrder());

@PostConstruct
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ public static String printTransactionList(TransactionList list, boolean selfType
}

public static String printTransactionIdList(TransactionIdList list, boolean selfType) {
List<String> transactions = list.getTxIdList();
JSONObject jsonObject = JSONObject.parseObject(JsonFormat.printToString(list, selfType));

return jsonObject.toJSONString();
Expand Down