econia-labs / econia

Hyper-parallelized on-chain order book for the Aptos blockchain
https://econia.dev
Other
141 stars 53 forks source link

[ECO-1656] fix price when tick size isn't 1 #767

Closed CRBl69 closed 5 months ago

CRBl69 commented 5 months ago

Description

This PR fixes a function that wrongly calculates nominal price when tick size is not 1.

Testing

Spin up DSS, query /tickers.

Checklist