Skip to content

Commit 07585b4

Browse files
committed
rename some val
1 parent 8129f0e commit 07585b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/org/tron/common/utils/ForkController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public synchronized void update(BlockCapsule blockCapsule) {
140140

141141
public synchronized void updateWhenMaintenance(BlockCapsule blockCapsule) {
142142
int version = blockCapsule.getInstance().getBlockHeader().getRawData().getVersion();
143-
if (version < ForkBlockVersionConsts.version_3_2_2 || passSet.contains(version)) {
143+
if (version < ForkBlockVersionConsts.VERSION_3_2_2 || passSet.contains(version)) {
144144
return;
145145
}
146146

src/main/java/org/tron/core/config/Parameter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ interface ForkBlockVersionConsts {
107107

108108
int START_NEW_TRANSACTION = 4;
109109
int ENERGY_LIMIT = 5;
110-
int version_3_2_2 = 6;
110+
int VERSION_3_2_2 = 6;
111111
}
112112

113113
}

0 commit comments

Comments
 (0)