NebulousLabs / Sia

Blockchain-based marketplace for file storage. Project has moved to GitLab: https://gitlab.com/NebulousLabs/Sia
https://sia.tech
MIT License
2.71k stars 440 forks source link

Fix renter spending reporting and current period #3087

Closed MSevey closed 6 years ago

MSevey commented 6 years ago

Updated PeriodSpending for renter spending with siatest

updated renter's CurrentPeriod and added siatest

The only time that I can think of that the spending might still not be reported accurately is during the maturity delay window, when the unspent allocated funds have not be released to the renter.

This resolves #3077

MSevey commented 6 years ago

This should also resolve #2308

@DavidVorick please confirm