Skip to content

Commit 4aa4a98

Browse files
committed
feat(event): set internalTransactionList to null in the new event service
1 parent 5d1ff37 commit 4aa4a98

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

framework/src/main/java/org/tron/core/services/event/BlockEventGet.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ public BlockEvent getBlockEvent(long blockNum) throws Exception {
6565
}
6666

6767
if (instance.isTransactionLogTriggerEnable()) {
68-
blockEvent.setTransactionLogTriggerCapsules(getTransactionLogTrigger(block, solidNum));
68+
List<TransactionLogTriggerCapsule> list = getTransactionLogTrigger(block, solidNum);
69+
list.forEach(t -> t.getTransactionLogTrigger().setInternalTransactionList(null));
70+
blockEvent.setTransactionLogTriggerCapsules(list);
6971
}
7072

7173
if (instance.isContractLogTriggerEnable()

0 commit comments

Comments
 (0)