diff --git a/src/cc/CCtx.cpp b/src/cc/CCtx.cpp index 96b22adad..d1e1217b0 100644 --- a/src/cc/CCtx.cpp +++ b/src/cc/CCtx.cpp @@ -165,6 +165,8 @@ std::string FinalizeCCTx(uint64_t CCmask,struct CCcontract_info *cp,CMutableTran { { char addr[64]; + Getscriptaddress(addr,vintx.vout[0].scriptPubKey); + fprintf(stderr,"vout[%d] %.8f -> %s\n",0,dstr(vintx.vout[0].nValue),addr); Getscriptaddress(addr,vintx.vout[utxovout].scriptPubKey); fprintf(stderr,"vout[%d] %.8f -> %s\n",utxovout,dstr(vintx.vout[utxovout].nValue),addr); } diff --git a/src/komodo_nSPV_wallet.h b/src/komodo_nSPV_wallet.h index e10e3be58..d38f52722 100644 --- a/src/komodo_nSPV_wallet.h +++ b/src/komodo_nSPV_wallet.h @@ -233,13 +233,6 @@ bool NSPV_SignTx(CMutableTransaction &mtx,int32_t vini,int64_t utxovalue,const C { CTransaction txNewConst(mtx); SignatureData sigdata; CBasicKeyStore keystore; int64_t branchid = NSPV_BRANCHID; keystore.AddKey(NSPV_key); - if ( 1 ) - { - int32_t i; - for (i=0; i