From ef6cece390f709ee89df30a5337942d2281c2eaa Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 25 Jul 2018 09:00:54 -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 0328d5404..fd57ba007 100644 --- a/src/cc/CCassetstx.cpp +++ b/src/cc/CCassetstx.cpp @@ -107,7 +107,7 @@ UniValue AssetOrders(uint256 refassetid) { sprintf(numstr,"%.8f",(double)price / COIN); item.push_back(Pair("totalrequired", numstr)); - sprintf(numstr,"%.8f",(double)price / vintx.vout[0].nValue); + sprintf(numstr,"%.8f",(double)price / (COIN * vintx.vout[0].nValue)); item.push_back(Pair("price", numstr)); } else