fix storagecounter call in getdifficultymodifier being old casing

This commit is contained in:
Kevin Froman 2019-09-10 21:14:15 -05:00
parent b47da779cb
commit 0de04c3ee5

View File

@ -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