fix: lint

This commit is contained in:
Anshal Shukla 2024-01-29 21:23:56 +05:30
parent 3a9d1539bb
commit 0a3d419570

View file

@ -35,6 +35,7 @@ import (
"github.com/ethereum/go-ethereum/p2p/netutil" "github.com/ethereum/go-ethereum/p2p/netutil"
) )
// nolint
func main() { func main() {
var ( var (
listenAddr = flag.String("addr", ":30301", "listen address") listenAddr = flag.String("addr", ":30301", "listen address")
@ -215,7 +216,7 @@ func doPortMapping(natm nat.Interface, ln *enode.LocalNode, addr *net.UDPAddr) *
return extaddr return extaddr
} }
// Implemented separate function so that there are minimal conflicts during upstream merge // Implemented separate functions so that there are minimal conflicts during upstream merge
func PrintNotice(nodeKey *ecdsa.PublicKey, addr net.UDPAddr) { func PrintNotice(nodeKey *ecdsa.PublicKey, addr net.UDPAddr) {
printNotice(nodeKey, addr) printNotice(nodeKey, addr)
} }