mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
fix: lint
This commit is contained in:
parent
3a9d1539bb
commit
0a3d419570
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue