diff --git a/lib/template_registry.py b/lib/template_registry.py index e7ddce8..a2a5763 100644 --- a/lib/template_registry.py +++ b/lib/template_registry.py @@ -287,10 +287,7 @@ class TemplateRegistry(object): # 7. Submit block to the network serialized = binascii.hexlify(job.serialize()) - if settings.BLOCK_CHECK_SCRYPT_HASH: - on_submit = self.bitcoin_rpc.submitblock(serialized, scrypt_hash_hex) - else: - on_submit = self.bitcoin_rpc.submitblock(serialized, block_hash_hex) + on_submit = self.bitcoin_rpc.submitblock(serialized, block_hash_hex, scrypt_hash_hex) if on_submit: self.update_block()