diff options
author | Matthew Halpern <matthalp@google.com> | 2019-02-21 13:37:32 +0800 |
---|---|---|
committer | Viktor TrĂ³n <viktor.tron@gmail.com> | 2019-02-21 13:37:32 +0800 |
commit | fbedf62f3ddde6502359741981c2354ef9045f90 (patch) | |
tree | 890537944dc2f11dda4984cdfd281ed92a632da5 /log | |
parent | 9d5e10f5bbeb79b7bae9a4f39386f97907efc601 (diff) | |
download | go-tangerine-fbedf62f3ddde6502359741981c2354ef9045f90.tar go-tangerine-fbedf62f3ddde6502359741981c2354ef9045f90.tar.gz go-tangerine-fbedf62f3ddde6502359741981c2354ef9045f90.tar.bz2 go-tangerine-fbedf62f3ddde6502359741981c2354ef9045f90.tar.lz go-tangerine-fbedf62f3ddde6502359741981c2354ef9045f90.tar.xz go-tangerine-fbedf62f3ddde6502359741981c2354ef9045f90.tar.zst go-tangerine-fbedf62f3ddde6502359741981c2354ef9045f90.zip |
swarm/storage: fix loop bound for database cleanup (#19085)
The current loop continuation condition is always true as a uint8
is always being checked whether it is less than 255 (its maximum
value). Since the loop starts with the value 1, the loop termination
can be guarranteed to exit once the value overflows to 0.
Diffstat (limited to 'log')
0 files changed, 0 insertions, 0 deletions