From 2b76af4efc895b6043419b121e7b07b32709e02b Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Tue, 2 May 2023 10:27:06 +0200 Subject: [PATCH] p2p/discover: fix lint nit --- p2p/discover/v5_udp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/discover/v5_udp.go b/p2p/discover/v5_udp.go index 50e25b8588b0..6a86e72a5089 100644 --- a/p2p/discover/v5_udp.go +++ b/p2p/discover/v5_udp.go @@ -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: int(n.UDP())} + addr := &net.UDPAddr{IP: n.IP(), Port: n.UDP()} c := &callV5{id: n.ID(), addr: addr, node: n} t.initCall(c, responseType, req) return c