fix: response must be 65 bytes

This commit is contained in:
Derrick Hammer 2024-01-16 14:32:53 -05:00
parent 5d393c3915
commit dd5c6332f3
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -268,7 +268,7 @@ func (h *HttpHandler) AccountRegister(jc jape.Context) {
return
}
if len(decodedResponse) != 64 {
if len(decodedResponse) != 65 {
errored(err)
return
}
@ -439,7 +439,7 @@ func (h *HttpHandler) AccountLogin(jc jape.Context) {
return
}
if len(decodedResponse) != 64 {
if len(decodedResponse) != 65 {
errored(err)
return
}