Skip to content

Commit b414f7d

Browse files
Merge pull request #6245 from zeusoo001/modify-internalTransactionList
feat(event): set internalTransactionList to null
2 parents 5d1ff37 + 4aa4a98 commit b414f7d

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)