From c272ff8636fe843b5202ceb30cc957e4d4e80062 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 26 Jul 2018 00:26:11 -1100 Subject: [PATCH] Test --- 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 13e5fa2ca..ae0a3d593 100644 --- a/src/cc/CCassetstx.cpp +++ b/src/cc/CCassetstx.cpp @@ -310,7 +310,7 @@ std::string FillSell(uint64_t txfee,uint256 assetid,uint256 assetid2,uint256 ask { orig_assetoshis = vintx.vout[askvout].nValue; SetAssetOrigpubkey(origpubkey,total_nValue,vintx); - dprice = (double)total_nValue / (COIN * orig_assetoshis); + dprice = (double)total_nValue / orig_assetoshis; paid_nValue = dprice * fillunits; mtx.vin.push_back(CTxIn(asktxid,askvout,CScript())); if ( assetid2 != zeroid )