p2p: remove support for multiple transports and endpoints (#8420)

This commit is contained in:
Sam Kleinman
2022-04-27 15:57:30 -04:00
committed by tycho garen
parent 251e41895f
commit 385ad1e1e3
12 changed files with 178 additions and 184 deletions
+2 -2
View File
@@ -310,8 +310,8 @@ func createRouter(
nodeKey.PrivKey,
peerManager,
nodeInfoProducer,
[]p2p.Transport{transport},
[]p2p.Endpoint{ep},
transport,
ep,
getRouterConfig(cfg, appClient),
)
}