diff --git a/src/script/sign.cpp b/src/script/sign.cpp index 71fa4cee4..e4ec27688 100644 --- a/src/script/sign.cpp +++ b/src/script/sign.cpp @@ -42,11 +42,13 @@ TransactionSignatureCreator::TransactionSignatureCreator(const CKeyStore* keysto bool TransactionSignatureCreator::CreateSig(std::vector& vchSig, const CKeyID& address, const CScript& scriptCode, uint32_t consensusBranchId, CKey *pprivKey, void *extraData) const { CKey key; + fprintf(stderr,"createsig\n"); if (pprivKey) key = *pprivKey; else if (!keystore || !keystore->GetKey(address, key)) return false; - + fprintf(stderr,"createsig2\n"); + uint256 hash; try { hash = SignatureHash(scriptCode, *txTo, nIn, nHashType, amount, consensusBranchId);