Skip to content

Commit 72255e9

Browse files
committed
hard fork in mantenance
1 parent cd9df1c commit 72255e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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
@@ -105,7 +105,7 @@ public synchronized void update(BlockCapsule blockCapsule) {
105105
return;
106106
}
107107

108-
if (stats == null) {
108+
if (stats == null || stats.length != witnesses.size()) {
109109
stats = new byte[witnesses.size()];
110110
}
111111

0 commit comments

Comments
 (0)