swarm/testutil: Updated NewLocalStore invocation

This commit is contained in:
lash 2018-01-18 17:24:00 +01:00
parent 358783fe35
commit 2001752d78

View file

@ -38,7 +38,7 @@ func NewTestSwarmServer(t *testing.T) *TestSwarmServer {
CacheCapacity: 5000, CacheCapacity: 5000,
Radius: 0, Radius: 0,
} }
localStore, err := storage.NewLocalStore(storage.MakeHashFunc("SHA3"), storeparams) localStore, err := storage.NewLocalStore(storage.MakeHashFunc("SHA3"), storeparams, nil)
if err != nil { if err != nil {
os.RemoveAll(dir) os.RemoveAll(dir)
t.Fatal(err) t.Fatal(err)