Skip to content

Commit

Permalink
feat(fast-sync): ignore actuator validate when generatedByMyself
Browse files Browse the repository at this point in the history
  • Loading branch information
halibobo1205 committed Aug 9, 2024
1 parent a9532ac commit 24fad97
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ public void execute(TransactionContext context)
actuator2.execute(context);
} else {
for (Actuator act : actuatorList) {
act.validate();
if (Objects.isNull(context.getBlockCap()) || !context.getBlockCap().generatedByMyself) {
act.validate();
}
act.execute(context.getProgramResult().getRet());
}
}
Expand Down

0 comments on commit 24fad97

Please sign in to comment.