From dd5c6332f34eebb1c66adfc5b067a34fc4c09679 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 16 Jan 2024 14:32:53 -0500 Subject: [PATCH] fix: response must be 65 bytes --- api/s5/http.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/s5/http.go b/api/s5/http.go index 9cd4619..a0063a4 100644 --- a/api/s5/http.go +++ b/api/s5/http.go @@ -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 }