From ad807b52a0719b35410a0a6c792db4f351692ebe Mon Sep 17 00:00:00 2001 From: ahmedbodi Date: Fri, 27 Dec 2013 19:24:13 +0100 Subject: [PATCH] Update __init__.py --- mining/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mining/__init__.py b/mining/__init__.py index 43df9f7..535899a 100644 --- a/mining/__init__.py +++ b/mining/__init__.py @@ -49,12 +49,12 @@ def setup(on_startup): try: result = (yield bitcoin_rpc.getinfo()) if isinstance(result,dict): - if 'stake' in result and settings.COINDAEMON_Reward = 'POS': + 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': break else: - log.error("Wrong Algo Selected, Switch to POS") + log.error("Wrong Algo Selected, Switch to appropriate POS/POW in config.py!") reactor.stop() else: log.error("Block Version mismatch: %s" % result['version'])