bee icon indicating copy to clipboard operation
bee copied to clipboard

Underflow protection in reserve size updates

Open metacertain opened this issue 2 years ago • 0 comments

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

metacertain avatar Aug 29 '22 13:08 metacertain