diff options
author | Furkan KAMACI <furkankamaci@gmail.com> | 2018-01-03 20:14:47 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-01-03 20:14:47 +0800 |
commit | b8caba97099ee5eed33c3b80dd4ea540722e7d8f (patch) | |
tree | 36c3661d083d81bc52676ff9a030f6e02c91b29c /swarm/storage/pyramid.go | |
parent | 9d48dbf5c2d0401042134d94997be1850bf8499b (diff) | |
download | go-tangerine-b8caba97099ee5eed33c3b80dd4ea540722e7d8f.tar go-tangerine-b8caba97099ee5eed33c3b80dd4ea540722e7d8f.tar.gz go-tangerine-b8caba97099ee5eed33c3b80dd4ea540722e7d8f.tar.bz2 go-tangerine-b8caba97099ee5eed33c3b80dd4ea540722e7d8f.tar.lz go-tangerine-b8caba97099ee5eed33c3b80dd4ea540722e7d8f.tar.xz go-tangerine-b8caba97099ee5eed33c3b80dd4ea540722e7d8f.tar.zst go-tangerine-b8caba97099ee5eed33c3b80dd4ea540722e7d8f.zip |
various: remove redundant parentheses (#15793)
Diffstat (limited to 'swarm/storage/pyramid.go')
-rw-r--r-- | swarm/storage/pyramid.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/storage/pyramid.go b/swarm/storage/pyramid.go index f2e85cb5b..19d493405 100644 --- a/swarm/storage/pyramid.go +++ b/swarm/storage/pyramid.go @@ -338,7 +338,7 @@ func (self *PyramidChunker) loadTree(chunkLevel [][]*TreeEntry, key Key, chunkC chunkLevel[depth-1] = append(chunkLevel[depth-1], newEntry) // Add the rest of the tree - for lvl := (depth - 1); lvl >= 1; lvl-- { + for lvl := depth - 1; lvl >= 1; lvl-- { //TODO(jmozah): instead of loading finished branches and then trim in the end, //avoid loading them in the first place |