Skip to content

Commit 87fae43

Browse files
author
wubinTron
committed
fix bug
1 parent 5360bce commit 87fae43

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

framework/src/main/java/org/tron/core/db/Manager.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,8 @@ private void postSolitityLogContractTrigger(Long blockNum) {
13721372
if (Args.getSolidityContractLogTriggerList().get(blockNum) == null) {
13731373
return;
13741374
}
1375-
for (ContractLogTrigger logTriggerCapsule : Args.getSolidityContractLogTriggerList().get(blockNum)) {
1375+
for (ContractLogTrigger logTriggerCapsule : Args
1376+
.getSolidityContractLogTriggerList().get(blockNum)) {
13761377
if (chainBaseManager.getTransactionStore().getUnchecked(ByteArray.fromHexString(
13771378
logTriggerCapsule.getTransactionId())) != null) {
13781379
logTriggerCapsule.setTriggerName(Trigger.SOLIDITYLOG_TRIGGER_NAME);
@@ -1388,7 +1389,8 @@ private void postSolitityEventContractTrigger(Long blockNum) {
13881389
}
13891390
for (ContractEventTrigger eventTriggerCapsule : Args
13901391
.getSolidityContractEventTriggerList().get(blockNum)) {
1391-
if (chainBaseManager.getTransactionStore().getUnchecked(ByteArray.fromHexString(eventTriggerCapsule
1392+
if (chainBaseManager.getTransactionStore()
1393+
.getUnchecked(ByteArray.fromHexString(eventTriggerCapsule
13921394
.getTransactionId())) != null) {
13931395
eventTriggerCapsule.setTriggerName(Trigger.SOLIDITYEVENT_TRIGGER_NAME);
13941396
EventPluginLoader.getInstance().postContractEventTrigger(eventTriggerCapsule);

0 commit comments

Comments
 (0)