From 3fbb6aa8ee7be93b88947dc425bc9d98b4808c49 Mon Sep 17 00:00:00 2001 From: Adin Schmahmann Date: Thu, 22 Apr 2021 19:09:41 -0400 Subject: [PATCH] fix from when updating deps --- core/node/libp2p/routing.go | 6 +++--- core/node/provider.go | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core/node/libp2p/routing.go b/core/node/libp2p/routing.go index a415dd3ced50..ab8b6d1300d8 100644 --- a/core/node/libp2p/routing.go +++ b/core/node/libp2p/routing.go @@ -81,9 +81,9 @@ func BaseRouting(experimentalDHTClient bool) interface{} { expClient, err := fullrt.NewFullRT(ctx, in.Host, dht.DefaultPrefix, - fullrt.Validator(in.Validator), - fullrt.Datastore(in.Repo.Datastore()), - fullrt.BootstrapPeers(bspeers...)) + dht.Validator(in.Validator), + dht.Datastore(in.Repo.Datastore()), + dht.BootstrapPeers(bspeers...)) if err != nil { return out, err } diff --git a/core/node/provider.go b/core/node/provider.go index 9f80afdb14f0..e4e9fdf649b9 100644 --- a/core/node/provider.go +++ b/core/node/provider.go @@ -64,6 +64,7 @@ func SimpleProviderSys(isOnline bool) interface{} { type provideMany interface { ProvideMany(ctx context.Context, keys []multihash.Multihash) error + Ready() bool } // BatchedProviderSys creates new provider system