Commit 343e334
authored
fix: correct est epochs paid calculation in shreds list (#312)
## Summary
- Fix estimated epochs paid being 100x too high in `shreds list`
- Price from `fetch_device_prices` is in whole USDC, not centi-USDC —
divisor should be 1,000,000 not 10,000
- Fix misleading doc comment on `fetch_device_prices`1 parent 39fccac commit 343e334
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
206 | | - | |
| 205 | + | |
207 | 206 | | |
208 | | - | |
| 207 | + | |
209 | 208 | | |
210 | 209 | | |
211 | 210 | | |
| |||
236 | 235 | | |
237 | 236 | | |
238 | 237 | | |
239 | | - | |
| 238 | + | |
240 | 239 | | |
241 | 240 | | |
242 | 241 | | |
| |||
0 commit comments