commit b696a70c08882b6c33c43450407f4c3e4732807e
parent d4aa5afad1f6a03ad38d1727f147339581d7425c
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 4 Aug 2026 17:13:19 +0200
comment on 'forever' treatment
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/backend/paivana-httpd_templates.c b/src/backend/paivana-httpd_templates.c
@@ -332,6 +332,9 @@ load_paywall (struct MHD_Connection *conn,
json_array_get (t->choices, 0))),
GNUNET_JSON_pack_uint64 (
"max_pickup_delay",
+ /* Note: 'forever' will result in a very large number
+ here, that is intentional, it is equivalent and avoids
+ a special case on the client-side. */
t->max_pickup_delay.rel_value_us / 1000LLU / 1000LLU),
GNUNET_JSON_pack_string (
"merchant_backend",