Commit b3ee4c0f authored by Brian Tiger Chow's avatar Brian Tiger Chow

feat(bitswap) make offline exchange query datastore

License: MIT
Signed-off-by: default avatarBrian Tiger Chow <brian@perfmode.com>
parent e754f7a5
......@@ -24,7 +24,7 @@ func getMockDagServ(t *testing.T) mdag.DAGService {
dstore := ds.NewMapDatastore()
tsds := sync.MutexWrap(dstore)
bstore := blockstore.NewBlockstore(tsds)
bserv, err := bs.New(bstore, offline.Exchange())
bserv, err := bs.New(bstore, offline.Exchange(bstore))
if err != nil {
t.Fatal(err)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment