From 45aa5f5a26e55b03090c7ec42d486a259001b375 Mon Sep 17 00:00:00 2001 From: kim Date: Thu, 24 Apr 2025 11:18:46 +0100 Subject: [PATCH] add further code comment explaining --- internal/middleware/nollamas.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/middleware/nollamas.go b/internal/middleware/nollamas.go index aa6e896fb..115c81acc 100644 --- a/internal/middleware/nollamas.go +++ b/internal/middleware/nollamas.go @@ -157,6 +157,9 @@ func (m *nollamas) Serve(c *gin.Context) { nonce, _ := c.GetQuery("nollamas_solution") if nonce == "" || len(nonce) > 20 { + // noting that here, 20 is + // max integer string len. + // // An invalid solution string, just // present them with new challenge. l.Info("posing new challenge")