This commit is contained in:
jl777
2018-07-21 03:52:53 -11:00
parent 08bddeff63
commit fa62690da2
2 changed files with 2 additions and 3 deletions

View File

@@ -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 )
{

View File

@@ -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;
}