Closed mtlynch closed 6 years ago
@lukechampine can you confirm that this is the expected behavior?
This is intended behavior, though there was some internal disagreement when it was implemented over whether it was the right way to design the api call.
I'm in favor of changing the call so that instead of destroying all of the contracts, it just collapses the allowance and stops renewing.
that seems much more reasonable to me. Shouldn't be too difficult to implement.
BUG REPORT
How to reproduce it (as minimally and precisely as possible)
siac renter setallowance
siac renter allowance cancel
Expected Behavior
Sia maintains existing contracts, but does not automatically renew them.
Actual Behavior
Sia destroys all contracts and loses all data.
Environment:
Logs