storj/web/multinode/src/payouts
Khushal Shah 4535da96ee
web/multinode: removed conversion for Expectations (#4216)
What: 
Removed the `convertToCents` methods from the `Expectation` class, since the expectations were already in cents.

Why:
Fixes https://github.com/storj/storj/issues/4202
The `/expectations` endpoint already returns the amounts for `currentMonthEstimation` and `undistributed` in cents. So there is no need to convert them again to cents before the dollar conversion.

This change removes the `convertToCents` from the `Expectation` class.
2021-10-14 12:12:24 +00:00
..
index.ts web/multinode: removed conversion for Expectations (#4216) 2021-10-14 12:12:24 +00:00
service.ts web/multinode: payouts by node 2021-06-03 15:04:59 +00:00