From 8c96cb0efc272a24dc84361aacd62e44e2da1110 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 23 Jul 2018 06:47:25 -1100 Subject: [PATCH] -print --- src/cc/CCtx.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/cc/CCtx.cpp b/src/cc/CCtx.cpp index 845178e59..4d1dd0d00 100644 --- a/src/cc/CCtx.cpp +++ b/src/cc/CCtx.cpp @@ -121,13 +121,13 @@ std::string FinalizeCCTx(uint8_t evalcode,CMutableTransaction &mtx,CPubKey mypk, uint256 sighash = SignatureHash(CCPubKey(cond), mtx, i, SIGHASH_ALL, utxovalues[i],consensusBranchId, &txdata); if ( cc_signTreeSecp256k1Msg32(cond,privkey,sighash.begin()) != 0 ) { - int32_t z; - for (z=0; z<32; z++) - fprintf(stderr,"%02x",((uint8_t *)sighash.begin())[z]); - fprintf(stderr," sighash, "); - for (z=0; z<32; z++) - fprintf(stderr,"%02x",privkey[z]); - fprintf(stderr," signed with privkey\n"); + //int32_t z; + //for (z=0; z<32; z++) + // fprintf(stderr,"%02x",((uint8_t *)sighash.begin())[z]); + //fprintf(stderr," sighash, "); + //for (z=0; z<32; z++) + // fprintf(stderr,"%02x",privkey[z]); + //fprintf(stderr," signed with privkey\n"); mtx.vin[i].scriptSig = CCSig(cond); } else fprintf(stderr,"vini.%d has CC signing error address.(%s)\n",i,destaddr);