Log ASSETCHAINS_SCRIPTPUB to stderr when we see an incorrect coinbase pubkey

This commit is contained in:
Duke
2023-12-03 18:51:55 -08:00
parent 540bc9b287
commit 429e25a3de

View File

@@ -1660,9 +1660,10 @@ int64_t hush_checkcommission(CBlock *pblock,int32_t height)
matched = 25;
if ( matched == 0 )
{
if ( 0 && ASSETCHAINS_SCRIPTPUB.size() > 1 )
if ( ASSETCHAINS_SCRIPTPUB.size() > 1 )
{
int32_t i;
fprintf(stderr,"%s: ASSETCHAINS_SCRIPTPUB=", __func__);
for (i=0; i<ASSETCHAINS_SCRIPTPUB.size(); i++)
fprintf(stderr,"%02x",ASSETCHAINS_SCRIPTPUB[i]);
}