Skip to content

Commit

Permalink
Revert "p2p/discover: fix lint nit (ethereum#27206)"
Browse files Browse the repository at this point in the history
This reverts commit 9618a5d.
  • Loading branch information
devopsbo3 authored Nov 10, 2023
1 parent a7a168d commit 77d6c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/discover/v5_udp.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ func containsUint(x uint, xs []uint) bool {
// callToNode sends the given call and sets up a handler for response packets (of message
// type responseType). Responses are dispatched to the call's response channel.
func (t *UDPv5) callToNode(n *enode.Node, responseType byte, req v5wire.Packet) *callV5 {
addr := &net.UDPAddr{IP: n.IP(), Port: n.UDP()}
addr := &net.UDPAddr{IP: n.IP(), Port: int(n.UDP())}
c := &callV5{id: n.ID(), addr: addr, node: n}
t.initCall(c, responseType, req)
return c
Expand Down

0 comments on commit 77d6c6f

Please sign in to comment.