aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm/explore.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/swarm/explore.go')
-rw-r--r--cmd/swarm/explore.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/swarm/explore.go b/cmd/swarm/explore.go
index 5b5b8bf41..9566213e4 100644
--- a/cmd/swarm/explore.go
+++ b/cmd/swarm/explore.go
@@ -23,6 +23,7 @@ import (
"os"
"github.com/ethereum/go-ethereum/cmd/utils"
+ "github.com/ethereum/go-ethereum/swarm/chunk"
"github.com/ethereum/go-ethereum/swarm/storage"
"gopkg.in/urfave/cli.v1"
)
@@ -47,7 +48,7 @@ func hashes(ctx *cli.Context) {
}
defer f.Close()
- fileStore := storage.NewFileStore(&storage.FakeChunkStore{}, storage.NewFileStoreParams())
+ fileStore := storage.NewFileStore(&storage.FakeChunkStore{}, storage.NewFileStoreParams(), chunk.NewTags())
refs, err := fileStore.GetAllReferences(context.TODO(), f, false)
if err != nil {
utils.Fatalf("%v\n", err)