From 0de04c3ee5a085e051a0eb8fa795c96668d27229 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Tue, 10 Sep 2019 21:14:15 -0500 Subject: [PATCH] fix storagecounter call in getdifficultymodifier being old casing --- onionr/onionrproofs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionr/onionrproofs.py b/onionr/onionrproofs.py index 3e93f89e..43adcaec 100755 --- a/onionr/onionrproofs.py +++ b/onionr/onionrproofs.py @@ -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