bee
bee copied to clipboard
Underflow protection in reserve size updates
Summary
In pkg/localstore/gc.go
// protect uint64 undeflow
return nil
occures twice, each place seems like we don't set the reservesize to even 0 if theres a larger decrease than the current reserveSize