aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2020-05-18 18:12:11 +0100
committerKegan Dougal <kegan@matrix.org>2020-05-18 18:12:11 +0100
commitb730e2189282d122f9a157a08f29d5d672f752cb (patch)
tree7b38536afa28af1e07dae9a0e6c2cebbd1f6b91a /cmd
parent9ef30bb13b49db7120c153d42cc67859cf5ed7da (diff)
bump go-http-js-libp2p
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dendritejs/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dendritejs/main.go b/cmd/dendritejs/main.go
index 44f3b5c4..6339bfbc 100644
--- a/cmd/dendritejs/main.go
+++ b/cmd/dendritejs/main.go
@@ -72,7 +72,7 @@ func createFederationClient(cfg *config.Dendrite, node *go_http_js_libp2p.P2pLoc
func createP2PNode(privKey ed25519.PrivateKey) (serverName string, node *go_http_js_libp2p.P2pLocalNode) {
hosted := "/dns4/rendezvous.matrix.org/tcp/8443/wss/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}, "p2p")
serverName = node.Id
fmt.Println("p2p assigned ServerName: ", serverName)
return