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

This commit is contained in:
Sam Kleinman
2022-04-27 14:29:19 -04:00
committed by GitHub
parent da1b871808
commit 8670678291
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),
)
}