fix storagecounter call in getdifficultymodifier being old casing

master
Kevin Froman 2019-09-10 21:14:15 -05:00
parent b47da779cb
commit 0de04c3ee5
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ def getDifficultyModifier():
'''returns the difficulty modifier for block storage based
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
return difficultyIncrease