From 30b7a2a1d1939fefde245ee5283eddc0b4d56b0b Mon Sep 17 00:00:00 2001 From: Adin Schmahmann Date: Thu, 13 May 2021 02:57:14 -0400 Subject: [PATCH] fix fx usage to support when DHT is turned off --- core/node/libp2p/routing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/node/libp2p/routing.go b/core/node/libp2p/routing.go index 4eee5c3a08a4..b249611cc492 100644 --- a/core/node/libp2p/routing.go +++ b/core/node/libp2p/routing.go @@ -115,7 +115,7 @@ func BaseRouting(experimentalDHTClient bool) interface{} { }, DHT: dr, DHTClient: dr, - BaseRT: dr, + BaseRT: in.Router, }, nil } }