Unverified Commit 4e977566 authored by Zig Blathazar's avatar Zig Blathazar Committed by GitHub

cmd/bootnode: defer udp connection close (#27787)

parent 817553cc
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment