Browse Source

+print

pull/4/head
jl777 6 years ago
parent
commit
64836d75a0
  1. 1
      src/script/interpreter.cpp
  2. 1
      src/script/serverchecker.cpp

1
src/script/interpreter.cpp

@ -1323,6 +1323,7 @@ int TransactionSignatureChecker::CheckCryptoCondition(
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) {
fprintf(stderr,"checker.%p\n",(TransactionSignatureChecker*)checker);
return ((TransactionSignatureChecker*)checker)->CheckEvalCondition(cond);
};

1
src/script/serverchecker.cpp

@ -102,5 +102,6 @@ bool ServerTransactionSignatureChecker::VerifySignature(const std::vector<unsign
*/
int ServerTransactionSignatureChecker::CheckEvalCondition(const CC *cond) const
{
fprintf(stderr,"call RunCCeval from ServerTransactionSignatureChecker::CheckEvalCondition\n");
return RunCCEval(cond, *txTo, nIn);
}

Loading…
Cancel
Save