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

pull/27289/head
Zig Blathazar 1 year ago committed by GitHub
parent 817553cc28
commit 4e9775668e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      cmd/bootnode/main.go

@ -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…
Cancel
Save