Skip to content

Commit

Permalink
Make NewServer use NewNEXVersion in SetDefaultNEXVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbarrow committed Jul 12, 2023
1 parent b4521a7 commit e57bba0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -861,11 +861,7 @@ func NewServer() *Server {
connectionIDCounter: NewCounter(10),
}

server.SetDefaultNEXVersion(&NEXVersion{
Major: 0,
Minor: 0,
Patch: 0,
})
server.SetDefaultNEXVersion(NewNEXVersion(0, 0, 0))

return server
}

0 comments on commit e57bba0

Please sign in to comment.