This commit is contained in:
jl777
2016-10-03 10:20:27 -03:00
parent c939721cee
commit 7bfc207ada
4 changed files with 18 additions and 9 deletions

View File

@@ -414,9 +414,9 @@ CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey)
if (!reservekey.GetReservedKey(pubkey))
return NULL;
scriptPubKey = CScript() << ToByteVector(pubkey) << OP_CHECKSIG;
if ( IS_KOMODO_NOTARY != 0 )
if ( USE_EXTERNAL_PUBKEY != 0 )
{
fprintf(stderr,"use notary pubkey\n");
//fprintf(stderr,"use notary pubkey\n");
scriptPubKey = CScript() << ParseHex(NOTARY_PUBKEY) << OP_CHECKSIG;
}
return CreateNewBlock(scriptPubKey);
@@ -495,7 +495,7 @@ void static BitcoinMiner(CWallet *pwallet)
} while (true);
fprintf(stderr,"Found peers\n");
}
fprintf(stderr,"create new block\n");
//fprintf(stderr,"create new block\n");
//
// Create new block
//