This commit is contained in:
jl777
2018-07-26 00:39:54 -11:00
parent 855ff4a174
commit 7ca7aaf719

View File

@@ -159,8 +159,8 @@ bool ValidateAskRemainder(uint64_t remaining_nValue,uint64_t remaining_assetoshi
}
else
{
unitprice = (orig_nValue / orig_assetoshis);
recvunitprice = (received_nValue / received_assetoshis);
unitprice = (total_nValue / orig_assetoshis);
recvunitprice = (paid_nValue / received_assetoshis);
if ( remaining_nValue != 0 )
newunitprice = (remaining_nValue / remaining_assetoshis);
if ( recvunitprice < unitprice )