mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-17 20:03:10 -06:00
Remove no-op ipfs uri which we don't use anymore
This commit is contained in:
parent
713fe19772
commit
913046fe81
|
|
@ -69,7 +69,6 @@ func createFederationClient(cfg *config.Dendrite, node *go_http_js_libp2p.P2pLoc
|
||||||
}
|
}
|
||||||
|
|
||||||
func createP2PNode(privKey ed25519.PrivateKey) (serverName string, node *go_http_js_libp2p.P2pLocalNode) {
|
func createP2PNode(privKey ed25519.PrivateKey) (serverName string, node *go_http_js_libp2p.P2pLocalNode) {
|
||||||
_ = "/dns4/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star"
|
|
||||||
hosted := "/ip4/127.0.0.1/tcp/9090/ws/p2p-websocket-star/"
|
hosted := "/ip4/127.0.0.1/tcp/9090/ws/p2p-websocket-star/"
|
||||||
node = go_http_js_libp2p.NewP2pLocalNode("org.matrix.p2p.experiment", privKey.Seed(), []string{hosted})
|
node = go_http_js_libp2p.NewP2pLocalNode("org.matrix.p2p.experiment", privKey.Seed(), []string{hosted})
|
||||||
serverName = node.Id
|
serverName = node.Id
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue