Test
This commit is contained in:
@@ -1313,14 +1313,14 @@ int TransactionSignatureChecker::CheckCryptoCondition(
|
|||||||
} catch (logic_error ex) {
|
} catch (logic_error ex) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
//int32_t z; uint8_t *ptr;
|
int32_t z; //uint8_t *ptr;
|
||||||
//ptr = (uint8_t *)scriptCode.data();
|
//ptr = (uint8_t *)scriptCode.data();
|
||||||
//for (z=0; z<scriptCode.size(); z++)
|
//for (z=0; z<scriptCode.size(); z++)
|
||||||
// fprintf(stderr,"%02x",ptr[z]);
|
// fprintf(stderr,"%02x",ptr[z]);
|
||||||
//fprintf(stderr," <- CScript\n");
|
//fprintf(stderr," <- CScript\n");
|
||||||
//for (z=0; z<32; z++)
|
for (z=0; z<32; z++)
|
||||||
// fprintf(stderr,"%02x",((uint8_t *)&sighash)[z]);
|
fprintf(stderr,"%02x",((uint8_t *)&sighash)[z]);
|
||||||
//fprintf(stderr," sighash nIn.%d nHashType.%d %.8f id.%d\n",(int32_t)nIn,(int32_t)nHashType,(double)amount/COIN,(int32_t)consensusBranchId);
|
fprintf(stderr," sighash nIn.%d nHashType.%d %.8f id.%d\n",(int32_t)nIn,(int32_t)nHashType,(double)amount/COIN,(int32_t)consensusBranchId);
|
||||||
|
|
||||||
VerifyEval eval = [] (CC *cond, void *checker) {
|
VerifyEval eval = [] (CC *cond, void *checker) {
|
||||||
return ((TransactionSignatureChecker*)checker)->CheckEvalCondition(cond);
|
return ((TransactionSignatureChecker*)checker)->CheckEvalCondition(cond);
|
||||||
|
|||||||
Reference in New Issue
Block a user