mirror of https://github.com/tidwall/tile38.git
s/64/12/
This commit is contained in:
parent
f23b46cfc0
commit
9202fd0206
|
@ -210,7 +210,7 @@ func (server *Server) cmdGet(msg *Message) (resp.Value, error) {
|
||||||
buf.WriteString(`,"hash":`)
|
buf.WriteString(`,"hash":`)
|
||||||
}
|
}
|
||||||
precision, err := strconv.ParseInt(sprecision, 10, 64)
|
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)
|
return NOMessage, errInvalidArgument(sprecision)
|
||||||
}
|
}
|
||||||
center := o.Center()
|
center := o.Center()
|
||||||
|
|
Loading…
Reference in New Issue