Skip to content

Commit

Permalink
cmd/bootnode: defer udp connection close (#27787)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigBalthazar committed Jul 31, 2023
1 parent 817553c commit 4e97756
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 4e97756

Please sign in to comment.