From fa62690da26df2e8851780aec5073469a67696e7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 21 Jul 2018 03:52:53 -1100 Subject: [PATCH] Test --- src/rpcrawtransaction.cpp | 1 - src/script/standard.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index bef8d182a..658bed256 100644 --- a/src/rpcrawtransaction.cpp +++ b/src/rpcrawtransaction.cpp @@ -181,7 +181,6 @@ void TxToJSONExpanded(const CTransaction& tx, const uint256 hashBlock, UniValue& { const CTxOut& txout = tx.vout[i]; UniValue out(UniValue::VOBJ); - fprintf(stderr,"decode vout.%d\n",i); out.push_back(Pair("value", ValueFromAmount(txout.nValue))); if ( ASSETCHAINS_SYMBOL[0] == 0 && pindex != 0 && tx.nLockTime >= 500000000 && (tipindex= chainActive.LastTip()) != 0 ) { diff --git a/src/script/standard.cpp b/src/script/standard.cpp index 0c463ab3d..46fa27038 100644 --- a/src/script/standard.cpp +++ b/src/script/standard.cpp @@ -260,9 +260,9 @@ bool ExtractDestination(const CScript& scriptPubKey, CTxDestination& addressRet) return true; } - else if (IsCryptoConditionsEnabled() != 0 && whichType == TX_CRYPTOCONDITION) + else if ( whichType == TX_CRYPTOCONDITION) { - //fprintf(stderr,"found CC type\n"); + fprintf(stderr,"found CC type\n"); addressRet = CScriptID(uint160(vSolutions[0])); return true; }