From ffcbd2407a26e7b4a6b821022fce43fa032d6690 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 10 Jul 2019 08:05:57 -1100 Subject: [PATCH] Right place --- src/cc/CCtx.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cc/CCtx.cpp b/src/cc/CCtx.cpp index e0270fd4f..96b22adad 100644 --- a/src/cc/CCtx.cpp +++ b/src/cc/CCtx.cpp @@ -158,16 +158,16 @@ std::string FinalizeCCTx(uint64_t CCmask,struct CCcontract_info *cp,CMutableTran { if ( KOMODO_NSPV == 0 ) { - { - char addr[64]; - Getscriptaddress(addr,vintx.vout[utxovout].scriptPubKey); - fprintf(stderr,"vout[%d] %.8f -> %s\n",utxovout,dstr(vintx.vout[utxovout].nValue),addr); - } if ( SignTx(mtx,i,vintx.vout[utxovout].nValue,vintx.vout[utxovout].scriptPubKey) == 0 ) fprintf(stderr,"signing error for vini.%d of %llx\n",i,(long long)vinimask); } else { + { + char addr[64]; + Getscriptaddress(addr,vintx.vout[utxovout].scriptPubKey); + fprintf(stderr,"vout[%d] %.8f -> %s\n",utxovout,dstr(vintx.vout[utxovout].nValue),addr); + } if ( NSPV_SignTx(mtx,i,vintx.vout[utxovout].nValue,vintx.vout[utxovout].scriptPubKey,0) == 0 ) fprintf(stderr,"NSPV signing error for vini.%d of %llx\n",i,(long long)vinimask); }