Coding Standards
This commit is contained in:
parent
e8521991af
commit
12b6b696ef
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user