From 0a3d419570ab8b1ff89a7f22a24117ca763f6e28 Mon Sep 17 00:00:00 2001 From: Anshal Shukla Date: Mon, 29 Jan 2024 21:23:56 +0530 Subject: [PATCH] fix: lint --- cmd/bootnode/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/bootnode/main.go b/cmd/bootnode/main.go index c90e23d0d9..4f744e102b 100644 --- a/cmd/bootnode/main.go +++ b/cmd/bootnode/main.go @@ -35,6 +35,7 @@ import ( "github.com/ethereum/go-ethereum/p2p/netutil" ) +// nolint func main() { var ( listenAddr = flag.String("addr", ":30301", "listen address") @@ -215,7 +216,7 @@ func doPortMapping(natm nat.Interface, ln *enode.LocalNode, addr *net.UDPAddr) * 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) { printNotice(nodeKey, addr) }