mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-02 09:33:46 +00:00
cmd/bootnode: defer udp connection close (#27787)
This commit is contained in:
parent
817553cc28
commit
4e9775668e
1 changed files with 1 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ func main() {
|
|||
if err != nil {
|
||||
utils.Fatalf("-ListenUDP: %v", err)
|
||||
}
|
||||
defer conn.Close()
|
||||
|
||||
db, _ := enode.OpenDB("")
|
||||
ln := enode.NewLocalNode(db, nodeKey)
|
||||
|
|
|
|||
Loading…
Reference in a new issue