hive-engine / hivesmartcontracts

Hive-Engine node software
https://hive-engine.com
MIT License
13 stars 9 forks source link

Fix small order exploit #74

Closed bt-cryptomancer closed 3 months ago

bt-cryptomancer commented 3 months ago

Fixes rounding problem that can happen with orders where the Hive amount (quantity x price) has a precision greater than what SWAP.HIVE supports.