Skip to content

Commit b7afd83

Browse files
committed
fix adaptiveResourceLimitMultiplier
1 parent 16b06d8 commit b7afd83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chainbase/src/main/java/org/tron/core/db/EnergyProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public void updateAdaptiveTotalEnergyLimit() {
7777

7878
result = Math.min(
7979
Math.max(result, totalEnergyLimit),
80-
totalEnergyLimit * AdaptiveResourceLimitConstants.LIMIT_MULTIPLIER
80+
totalEnergyLimit * dynamicPropertiesStore.getAdaptiveResourceLimitMultiplier()
8181
);
8282

8383
dynamicPropertiesStore.saveTotalEnergyCurrentLimit(result);

0 commit comments

Comments
 (0)