From 3ed2e7334cd4b328031afba71661aa0a838e2bf7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 7 May 2018 17:07:38 +0300 Subject: [PATCH] Test --- src/miner.cpp | 2 +- src/wallet/rpcwallet.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/miner.cpp b/src/miner.cpp index f8414cb19..07f5081e4 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -491,7 +491,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn) pblocktemplate->vTxFees.push_back(txfees); pblocktemplate->vTxSigOps.push_back(GetLegacySigOpCount(txNotary)); nFees += txfees; - //fprintf(stderr,"add notaryvin\n"); + fprintf(stderr,"added notaryvin\n"); } else fprintf(stderr,"error adding notaryvin\n"); } else diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index fca98ef53..c39b24b0b 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4509,7 +4509,7 @@ int32_t komodo_notaryvin(CMutableTransaction &txNew,uint8_t *notarypub33) //utxotxid = out.tx->GetHash(); utxovout = out.i; best_scriptPubKey = out.tx->vout[out.i].scriptPubKey; - //fprintf(stderr,"check %s/v%d %llu\n",(char *)out.tx->GetHash().GetHex().c_str(),utxovout,(long long)utxovalue); + fprintf(stderr,"check %s/v%d %llu\n",(char *)utxotxid.c_str(),utxovout,(long long)utxovalue); bool signSuccess; SignatureData sigdata; uint64_t txfee; uint8_t *ptr; uint256 revtxid,utxotxid; auto consensusBranchId = CurrentEpochBranchId(chainActive.Height() + 1, Params().GetConsensus());