Browse Source

Log ASSETCHAINS_SCRIPTPUB to stderr when we see an incorrect coinbase pubkey

pull/371/head
Duke 6 months ago
parent
commit
429e25a3de
  1. 3
      src/hush_bitcoind.h

3
src/hush_bitcoind.h

@ -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]);
}

Loading…
Cancel
Save