Prevent useless prints in regtest

This commit is contained in:
Jonathan "Duke" Leto
2018-08-22 09:49:55 +02:00
parent feff708dbe
commit 47a5268bd4

View File

@@ -203,6 +203,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash,unsigned int
if ( ASSETCHAINS_SYMBOL[0] != 0 || height > 792000 )
{
//if ( 0 && height > 792000 )
if ( Params().NetworkIDString() != "regtest" )
{
for (i=31; i>=0; i--)
fprintf(stderr,"%02x",((uint8_t *)&hash)[i]);