We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2175139 commit 97a55c7Copy full SHA for 97a55c7
scalanet/discovery/src/io/iohk/scalanet/discovery/ethereum/Node.scala
@@ -42,7 +42,7 @@ object Node {
42
tryParse[InetAddress](key)(bytes => InetAddress.getByAddress(bytes.toArray))
43
44
def tryParsePort(key: ByteVector): Option[Int] =
45
- tryParse[Int](key)(bytes => bytes.toInt())
+ tryParse[Int](key)(bytes => bytes.toInt(signed = false))
46
47
for {
48
ip <- tryParseIP(Keys.ip6) orElse tryParseIP(Keys.ip)
0 commit comments