|
|
@ -1664,8 +1664,13 @@ int64_t hush_checkcommission(CBlock *pblock,int32_t height) |
|
|
|
{ |
|
|
|
int32_t i; |
|
|
|
fprintf(stderr,"%s: ASSETCHAINS_SCRIPTPUB=", __func__); |
|
|
|
for (i=0; i<ASSETCHAINS_SCRIPTPUB.size(); i++) |
|
|
|
for (i=0; i<ASSETCHAINS_SCRIPTPUB.size(); i++) { |
|
|
|
fprintf(stderr,"%02x",ASSETCHAINS_SCRIPTPUB[i]); |
|
|
|
} |
|
|
|
fprintf(stderr," vs script="); |
|
|
|
for (i=0; i<scriptlen; i++) { |
|
|
|
fprintf(stderr,"%02x",script[i]); |
|
|
|
} |
|
|
|
} |
|
|
|
fprintf(stderr," -ac[%d] payment to wrong pubkey scriptlen.%d, scriptpub[%d] checktoshis.%llu\n",(int32_t)ASSETCHAINS_SCRIPTPUB.size(),scriptlen,(int32_t)ASSETCHAINS_SCRIPTPUB.size()/2,(long long)checktoshis); |
|
|
|
return(-1); |
|
|
|