Skip to content

Commit

Permalink
Fixed seed ports
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicletz committed Nov 20, 2023
1 parent ba7846d commit 37ff35f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/diode.ex
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,11 @@ defmodule Diode do
nil ->
[
"diode://0xceca2f8cf1983b4cf0c1ba51fd382c2bc37aba58@us1.prenet.diode.io:51054",
"diode://0x7e4cd38d266902444dc9c8f7c0aa716a32497d0b@us2.prenet.diode.io:51054",
"diode://0x7e4cd38d266902444dc9c8f7c0aa716a32497d0b@us2.prenet.diode.io:443",
"diode://0x68e0bafdda9ef323f692fc080d612718c941d120@as1.prenet.diode.io:51054",
"diode://0x1350d3b501d6842ed881b59de4b95b27372bfae8@as2.prenet.diode.io:51054",
"diode://0x1350d3b501d6842ed881b59de4b95b27372bfae8@as2.prenet.diode.io:443",
"diode://0x937c492a77ae90de971986d003ffbc5f8bb2232c@eu1.prenet.diode.io:51054",
"diode://0xae699211c62156b8f29ce17be47d2f069a27f2a6@eu2.prenet.diode.io:51054"
"diode://0xae699211c62156b8f29ce17be47d2f069a27f2a6@eu2.prenet.diode.io:443"
]

other ->
Expand Down
4 changes: 2 additions & 2 deletions lib/network/handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ defmodule Network.Handler do
"pre_connection_information"
end

def name({node_id, node_address, _port}) do
name({node_id, node_address})
def name({node_id, node_address, port}) do
"#{name({node_id, node_address})}:#{port}"
end

def name({_node_id, node_address}) do
Expand Down

0 comments on commit 37ff35f

Please sign in to comment.