Attempt 2 at POS/POW check

This commit is contained in:
ahmedbodi 2013-12-27 22:14:20 +01:00
parent ad807b52a0
commit 7ff4cadd8e

View File

@ -51,7 +51,8 @@ def setup(on_startup):
if isinstance(result,dict):
if 'stake' in result and settings.COINDAEMON_Reward == 'POS':
break
elif 'stake' is not in result and settings.COINDAEMON_Reward == 'POW':
#elif 'stake' is not in result and settings.COINDAEMON_Reward == 'POW':
elif result.has_key('stake') and settings.COINDAEMON_Reward == 'POW':
break
else:
log.error("Wrong Algo Selected, Switch to appropriate POS/POW in config.py!")