KyberNetwork / smart-contracts

Main smart contracts for Kyber Network, including the main platform contract, reserve contracts etc.
https://kyber.network
MIT License
378 stars 340 forks source link

Fix reverse amount calculation for trades. When maxDestAmount is small and we recalculate trade values in reverse. #936

Closed manhlx3006 closed 4 years ago

manhlx3006 commented 4 years ago

When doing reverse calculation: