This commit is contained in:
jl777
2019-07-11 22:54:25 -11:00
parent 8fc2650ff9
commit 1904b96d92
2 changed files with 8 additions and 5 deletions

View File

@@ -274,7 +274,10 @@ int cc_verify(const struct CC *cond, const unsigned char *msg, size_t msgLength,
else memcpy(msgHash, msg, 32);
if (!cc_secp256k1VerifyTreeMsg32(cond, msgHash)) {
fprintf(stderr,"cc_verify error C msgHash.%s\n",msgHash.GetHex().c_str());
int32_t z;
for (z=0; z<32; z++)
fprintf(stderr,"%02x",msgHash[z]);
fprintf(stderr," msgHash, cc_verify error C\n");
return 0;
}