From 492dc5c2cc5e92048b4fc22b4d8ecd76c631a9f1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 8 Jul 2019 20:49:12 -1100 Subject: [PATCH] +print --- src/script/sign.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);