tdex-network / tdex-daemon

Go implementation of the TDEX Beta Daemon
https://tdex.network
MIT License
11 stars 13 forks source link

ListTrades, ListDepsits and ListWithdrawals must be sorted chronologically, latest should come first #511

Closed tiero closed 2 years ago

altafan commented 2 years ago

ListTrades() is the only one that sorts the returning list. This should be done by the repo methods though, ATM this means ordering only the trades of a page, but there's no guarantee that the order is preserved among different pages.