mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-20 12:10:30 +08:00
Instead of using copysign with a param of 1, use `abs` to make the code more clear between when slippage is using the absolute value, and when it is creating an amount that uses the order direction.