Update __init__.py
This commit is contained in:
parent
611ce67a0e
commit
ad807b52a0
@ -49,12 +49,12 @@ def setup(on_startup):
|
|||||||
try:
|
try:
|
||||||
result = (yield bitcoin_rpc.getinfo())
|
result = (yield bitcoin_rpc.getinfo())
|
||||||
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' is not in result and settings.COINDAEMON_Reward == 'POW':
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
log.error("Wrong Algo Selected, Switch to POS")
|
log.error("Wrong Algo Selected, Switch to appropriate POS/POW in config.py!")
|
||||||
reactor.stop()
|
reactor.stop()
|
||||||
else:
|
else:
|
||||||
log.error("Block Version mismatch: %s" % result['version'])
|
log.error("Block Version mismatch: %s" % result['version'])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user