Update basic_share_limiter.py
Missed one "settings" addition to USE_COINDAEMON_DIFF
This commit is contained in:
parent
dc66a7d778
commit
886d2246da
@ -134,7 +134,7 @@ class BasicShareLimiter(object):
|
|||||||
if settings.VDIFF_X2_TYPE:
|
if settings.VDIFF_X2_TYPE:
|
||||||
ddiff = 2
|
ddiff = 2
|
||||||
# Don't go above LITECOIN or VDIFF_MAX_TARGET
|
# Don't go above LITECOIN or VDIFF_MAX_TARGET
|
||||||
if USE_COINDAEMON_DIFF:
|
if settings.USE_COINDAEMON_DIFF:
|
||||||
self.update_litecoin_difficulty()
|
self.update_litecoin_difficulty()
|
||||||
diff_max = min([settings.VDIFF_MAX_TARGET, self.litecoin_diff])
|
diff_max = min([settings.VDIFF_MAX_TARGET, self.litecoin_diff])
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user