We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66d85ff commit 0ed9301Copy full SHA for 0ed9301
framework/src/main/java/org/tron/core/services/jsonrpc/filters/LogMatch.java
@@ -85,7 +85,9 @@ public LogFilterElement[] matchBlockOneByOne()
85
for (long blockNum : blockNumList) {
86
List<TransactionInfo> transactionInfoList =
87
manager.getTransactionInfoByBlockNum(blockNum).getTransactionInfoList();
88
-
+ if (transactionInfoList.isEmpty()) {
89
+ continue;
90
+ }
91
String blockHash = manager.getChainBaseManager().getBlockIdByNum(blockNum).toString();
92
List<LogFilterElement> matchedLog = matchBlock(logFilterWrapper.getLogFilter(), blockNum,
93
blockHash, transactionInfoList, false);
0 commit comments