Skip to content

Commit 213a6fa

Browse files
committed
refactor(vm): drop redundant value==1 guard around TIP-2935 deploy
1 parent 5806e22 commit 213a6fa

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

framework/src/main/java/org/tron/core/consensus/ProposalService.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,9 +399,7 @@ public static boolean process(Manager manager, ProposalCapsule proposalCapsule)
399399
}
400400
case ALLOW_TVM_PRAGUE: {
401401
manager.getDynamicPropertiesStore().saveAllowTvmPrague(entry.getValue());
402-
if (entry.getValue() == 1) {
403-
HistoryBlockHashUtil.deploy(manager);
404-
}
402+
HistoryBlockHashUtil.deploy(manager);
405403
break;
406404
}
407405
default:

0 commit comments

Comments
 (0)