Print script

This commit is contained in:
jl777
2018-11-10 08:56:32 -11:00
parent 9328dae04f
commit 4ee48bc646

View File

@@ -1495,7 +1495,9 @@ int64_t komodo_checkcommission(CBlock *pblock,int32_t height)
matched = 2;
if ( matched == 0 )
{
fprintf(stderr,"payment to wrong pubkey\n");
for (i=0; i<25; i++)
fprintf(stderr,"%02x",script[i]);
fprintf(stderr," payment to wrong pubkey scriptlen.%d\n",scriptlen);
return(-1);
}