fix storagecounter call in getdifficultymodifier being old casing
This commit is contained in:
parent
b47da779cb
commit
0de04c3ee5
@ -27,7 +27,7 @@ def getDifficultyModifier():
|
|||||||
'''returns the difficulty modifier for block storage based
|
'''returns the difficulty modifier for block storage based
|
||||||
on a variety of factors, currently only disk use.
|
on a variety of factors, currently only disk use.
|
||||||
'''
|
'''
|
||||||
percentUse = storagecounter.StorageCounter().getPercent()
|
percentUse = storagecounter.StorageCounter().get_percent()
|
||||||
difficultyIncrease = math.floor(4 * percentUse) # difficulty increase is a step function
|
difficultyIncrease = math.floor(4 * percentUse) # difficulty increase is a step function
|
||||||
|
|
||||||
return difficultyIncrease
|
return difficultyIncrease
|
||||||
|
Loading…
Reference in New Issue
Block a user