Skip to content

Commit

Permalink
cmd/bootnode: defer udp connection close (ethereum#27787)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigBalthazar authored and devopsbo3 committed Nov 10, 2023
1 parent 426aec5 commit 6d08d12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/bootnode/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6d08d12

Please sign in to comment.