Skip to content

Commit 835f680

Browse files
committed
add MaximumAllowedGrowth #638
1 parent 2994d37 commit 835f680

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Pools/MRR.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,8 @@ try {
421421
elseif ($prft -lt $persprofit) {
422422
$persprofit *= 1.01
423423
}
424-
elseif ($prft -gt ($persprofit * 10)) {
425-
$persprofit *= 9.99
424+
elseif ($prft -gt ($persprofit * $Config.MaximumAllowedGrowth)) {
425+
$persprofit *= $Config.MaximumAllowedGrowth
426426
}
427427
else {
428428
$persprofit = 0

0 commit comments

Comments
 (0)