This commit is contained in:
jl777
2018-07-25 08:53:18 -11:00
parent 05e35a3364
commit 4c0f3c8745

View File

@@ -106,7 +106,7 @@ UniValue AssetOrders(uint256 refassetid)
item.push_back(Pair("totalrequired", (int64_t)price));
if ( funcid == 's' || funcid == 'S' || funcid == 'e' || funcid == 'e' )
{
sprintf(numstr,"%.8f",(double)price / vintx.vout[0].nValue));
sprintf(numstr,"%.8f",(double)price / vintx.vout[0].nValue);
item.push_back(Pair("price", (double)price / vintx.vout[0].nValue));
}
else