Prevent useless prints in regtest
This commit is contained in:
@@ -203,6 +203,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash,unsigned int
|
|||||||
if ( ASSETCHAINS_SYMBOL[0] != 0 || height > 792000 )
|
if ( ASSETCHAINS_SYMBOL[0] != 0 || height > 792000 )
|
||||||
{
|
{
|
||||||
//if ( 0 && height > 792000 )
|
//if ( 0 && height > 792000 )
|
||||||
|
if ( Params().NetworkIDString() != "regtest" )
|
||||||
{
|
{
|
||||||
for (i=31; i>=0; i--)
|
for (i=31; i>=0; i--)
|
||||||
fprintf(stderr,"%02x",((uint8_t *)&hash)[i]);
|
fprintf(stderr,"%02x",((uint8_t *)&hash)[i]);
|
||||||
|
|||||||
Reference in New Issue
Block a user