From 1fcdefbbb16af16657fe445e10d02c380fb15782 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 25 Jul 2018 09:25:31 -1100 Subject: [PATCH] Fix oops --- src/cc/CCassetstx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/CCassetstx.cpp b/src/cc/CCassetstx.cpp index f09778376..f70080ec2 100644 --- a/src/cc/CCassetstx.cpp +++ b/src/cc/CCassetstx.cpp @@ -303,7 +303,7 @@ std::string FillSell(uint64_t txfee,uint256 assetid,uint256 assetid2,uint256 ask askamount = vintx.vout[askvout].nValue; SetAssetOrigpubkey(origpubkey,totalunits,vintx); mtx.vin.push_back(CTxIn(asktxid,askvout,CScript())); - if ( assetid2 == zeroid ) + if ( assetid2 != zeroid ) inputs = AddAssetInputs(cp,mtx,mypk,assetid2,fillamount,60); else inputs = AddNormalinputs(mtx,mypk,fillamount,60); if ( inputs > 0 )