Coding Standards

This commit is contained in:
ahmedbodi 2014-02-02 13:44:13 +00:00
parent e8521991af
commit 12b6b696ef

View File

@ -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)