[NebulousLabs/Sia] Updates on Spend Reporting PR 3087 (#3131)

MSevey commented on this pull request.

> if renterAllContracts {
– if len(rc.OldContracts) == 0 {
+ rc, err := httpClient.RenterExpiredContractsGet()

need to rename `rc` as this would overwrite the previous api call, and since `RenterExpiredContractsGet()` doesn’t return `InactiveContracts` the following `if` statement could potentially say that there are no contracts when the renter has only `InactiveContracts`

This post was last modified on July 10, 2018, 9:17 pm