aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/api/manifest.go
diff options
context:
space:
mode:
authorJanoš Guljaš <janos@users.noreply.github.com>2019-04-10 22:50:58 +0800
committerAnton Evangelatov <anton.evangelatov@gmail.com>2019-05-10 18:26:26 +0800
commit996755c4a832afce8629a771cab8879c88c98355 (patch)
treefcf48d69c183a89823e3435f8d08468278a97c3c /swarm/api/manifest.go
parentc94d582aa781b26412ba7d570f6707d193303a02 (diff)
downloadgo-tangerine-996755c4a832afce8629a771cab8879c88c98355.tar
go-tangerine-996755c4a832afce8629a771cab8879c88c98355.tar.gz
go-tangerine-996755c4a832afce8629a771cab8879c88c98355.tar.bz2
go-tangerine-996755c4a832afce8629a771cab8879c88c98355.tar.lz
go-tangerine-996755c4a832afce8629a771cab8879c88c98355.tar.xz
go-tangerine-996755c4a832afce8629a771cab8879c88c98355.tar.zst
go-tangerine-996755c4a832afce8629a771cab8879c88c98355.zip
cmd/swarm, swarm: LocalStore storage integration
Diffstat (limited to 'swarm/api/manifest.go')
-rw-r--r--swarm/api/manifest.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/swarm/api/manifest.go b/swarm/api/manifest.go
index 890ed88bd..d753b3f2e 100644
--- a/swarm/api/manifest.go
+++ b/swarm/api/manifest.go
@@ -235,7 +235,6 @@ func loadManifest(ctx context.Context, fileStore *storage.FileStore, addr storag
}
func readManifest(mr storage.LazySectionReader, addr storage.Address, fileStore *storage.FileStore, isEncrypted bool, quitC chan bool, decrypt DecryptFunc) (trie *manifestTrie, err error) { // non-recursive, subtrees are downloaded on-demand
-
// TODO check size for oversized manifests
size, err := mr.Size(mr.Context(), quitC)
if err != nil { // size == 0