From 582c6e53a54f08ecdbe771c195483e640803b50b Mon Sep 17 00:00:00 2001 From: Balint Gabor Date: Wed, 28 Mar 2018 14:41:11 +0200 Subject: [PATCH] swarm/storage: Add TODO comment to chunker depth parameter Depth can only be 0 because of a bug: https://github.com/ethersphere/go-ethereum/issues/344 --- swarm/storage/chunker.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/swarm/storage/chunker.go b/swarm/storage/chunker.go index 59c8609a00..c2bac98593 100644 --- a/swarm/storage/chunker.go +++ b/swarm/storage/chunker.go @@ -95,7 +95,8 @@ type JoinerParams struct { ChunkerParams key Key getter Getter - depth int + // TODO: there is a bug, so depth can only be 0 today, see: https://github.com/ethersphere/go-ethereum/issues/344 + depth int } type TreeChunker struct {