Merge branch 'superloach-master'

This commit is contained in:
tidwall 2020-08-12 10:57:49 -07:00
commit 25a954a6aa
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ func (server *Server) cmdGet(msg *Message) (resp.Value, error) {
buf.WriteString(`,"hash":`)
}
precision, err := strconv.ParseInt(sprecision, 10, 64)
if err != nil || precision < 1 || precision > 64 {
if err != nil || precision < 1 || precision > 12 {
return NOMessage, errInvalidArgument(sprecision)
}
center := o.Center()