Skip to content

Commit

Permalink
Bump nim-eth for uTP async raises, part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeme committed Jun 12, 2024
1 parent 54f793f commit e543376
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fluffy/network/wire/portal_stream.nim
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ proc connectTo*(
): Future[Result[UtpSocket[NodeAddress], string]] {.async.} =
let connectRes = await stream.transport.connectTo(nodeAddress, connectionId)
if connectRes.isErr():
case connectRes.error.kind
case connectRes.error
of SocketAlreadyExists:
# This means that there is already a socket to this nodeAddress with given
# connection id. This means that a peer sent us a connection id which is
Expand Down

0 comments on commit e543376

Please sign in to comment.