Fixed POS/POW Check
This commit is contained in:
parent
8c10f572e1
commit
36e185e54e
@ -48,9 +48,8 @@ def setup(on_startup):
|
|||||||
if isinstance(result,dict):
|
if isinstance(result,dict):
|
||||||
if 'stake' in result and settings.COINDAEMON_Reward == 'POS':
|
if 'stake' in result and settings.COINDAEMON_Reward == 'POS':
|
||||||
break
|
break
|
||||||
#elif 'stake' is not in result and settings.COINDAEMON_Reward == 'POW':
|
elif 'stake' not in result and settings.COINDAEMON_Reward == 'POW':
|
||||||
elif result.has_key('stake') and settings.COINDAEMON_Reward == 'POW':
|
break
|
||||||
break
|
|
||||||
else:
|
else:
|
||||||
log.error("Wrong Algo Selected, Switch to appropriate POS/POW in config.py!")
|
log.error("Wrong Algo Selected, Switch to appropriate POS/POW in config.py!")
|
||||||
reactor.stop()
|
reactor.stop()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user