From 12b6b696ef500c316a9542e234509b21c6d0fd55 Mon Sep 17 00:00:00 2001 From: ahmedbodi Date: Sun, 2 Feb 2014 13:44:13 +0000 Subject: [PATCH] Coding Standards --- lib/coinbasetx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/coinbasetx.py b/lib/coinbasetx.py index 905582b..08755a5 100644 --- a/lib/coinbasetx.py +++ b/lib/coinbasetx.py @@ -39,7 +39,7 @@ class CoinbaseTransactionPOW(halfnode.CTransaction): tx_out.nValue = value tx_out.scriptPubKey = coinbaser.get_script_pubkey() - if settings.COINDAEMON_TX == 'yes': + if settings.COINDAEMON_TX != False: self.strTxComment = "http://github.com/ahmedbodi/stratum-mining" self.vin.append(tx_in) self.vout.append(tx_out) @@ -87,7 +87,7 @@ class CoinbaseTransactionPOS(halfnode.CTransaction): tx_out.scriptPubKey = coinbaser.get_script_pubkey() self.nTime = ntime - if settings.COINDAEMON_SHA256_TX == 'yes': + if settings.COINDAEMON_SHA256_TX != False: self.strTxComment = "http://github.com/ahmedbodi/stratum-mining" self.vin.append(tx_in) self.vout.append(tx_out)