diff options
Diffstat (limited to 'cmd/swarm/hash.go')
-rw-r--r-- | cmd/swarm/hash.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/swarm/hash.go b/cmd/swarm/hash.go index bca4955b1..d679806e3 100644 --- a/cmd/swarm/hash.go +++ b/cmd/swarm/hash.go @@ -39,7 +39,7 @@ func hash(ctx *cli.Context) { defer f.Close() stat, _ := f.Stat() - fileStore := storage.NewFileStore(storage.NewMapChunkStore(), storage.NewFileStoreParams()) + fileStore := storage.NewFileStore(&storage.FakeChunkStore{}, storage.NewFileStoreParams()) addr, _, err := fileStore.Store(context.TODO(), f, stat.Size(), false) if err != nil { utils.Fatalf("%v\n", err) |