This commit is contained in:
Terra Brown 2020-08-11 18:11:06 -04:00
parent f23b46cfc0
commit 9202fd0206
No known key found for this signature in database
GPG Key ID: 4A522A8D324CF8E1
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()