-prints
This commit is contained in:
@@ -272,10 +272,10 @@ int cc_verify(const struct CC *cond, const unsigned char *msg, size_t msgLength,
|
|||||||
unsigned char msgHash[32];
|
unsigned char msgHash[32];
|
||||||
if (doHashMsg) sha256(msg, msgLength, msgHash);
|
if (doHashMsg) sha256(msg, msgLength, msgHash);
|
||||||
else memcpy(msgHash, msg, 32);
|
else memcpy(msgHash, msg, 32);
|
||||||
int32_t z;
|
//int32_t z;
|
||||||
for (z=0; z<32; z++)
|
//for (z=0; z<32; z++)
|
||||||
fprintf(stderr,"%02x",msgHash[z]);
|
// fprintf(stderr,"%02x",msgHash[z]);
|
||||||
fprintf(stderr," msgHash msglen.%d\n",msgLength);
|
//fprintf(stderr," msgHash msglen.%d\n",(int32_t)msgLength);
|
||||||
|
|
||||||
if (!cc_secp256k1VerifyTreeMsg32(cond, msgHash)) {
|
if (!cc_secp256k1VerifyTreeMsg32(cond, msgHash)) {
|
||||||
fprintf(stderr," cc_verify error C\n");
|
fprintf(stderr," cc_verify error C\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user