Browse Source

Test

metaverse
jl777 6 years ago
parent
commit
7ca7aaf719
  1. 4
      src/cc/CCassetsCore.cpp

4
src/cc/CCassetsCore.cpp

@ -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 )

Loading…
Cancel
Save