gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: fix minimum age parsing (endiane


From: gnunet
Subject: [taler-merchant] branch master updated: fix minimum age parsing (endianess!)
Date: Mon, 25 Apr 2022 23:57:41 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new c1efc981 fix minimum age parsing (endianess!)
c1efc981 is described below

commit c1efc9812ba1593d93a71126923e1e2230f657fa
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Apr 25 23:57:38 2022 +0200

    fix minimum age parsing (endianess!)
---
 src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c 
b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
index 4d8dafe0..4ace33ef 100644
--- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
+++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
@@ -2294,8 +2294,8 @@ parse_pay (struct MHD_Connection *connection,
         GNUNET_JSON_spec_fixed_auto ("h_wire",
                                      &pc->h_wire),
         GNUNET_JSON_spec_mark_optional (
-          GNUNET_JSON_spec_fixed_auto ("minimum_age",
-                                       &pc->minimum_age),
+          GNUNET_JSON_spec_uint32 ("minimum_age",
+                                   &pc->minimum_age),
           NULL),
         GNUNET_JSON_spec_end ()
       };

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]