gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] branch master updated: -fix reducer issues


From: gnunet
Subject: [taler-anastasis] branch master updated: -fix reducer issues
Date: Sun, 11 Jul 2021 13:22:33 +0200

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

grothoff pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new 60abc60  -fix reducer issues
60abc60 is described below

commit 60abc60b9bff00477465e950f510c64aec83c091
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Jul 11 13:22:31 2021 +0200

    -fix reducer issues
---
 src/reducer/anastasis_api_backup_redux.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/reducer/anastasis_api_backup_redux.c 
b/src/reducer/anastasis_api_backup_redux.c
index b6f5176..23e97e3 100644
--- a/src/reducer/anastasis_api_backup_redux.c
+++ b/src/reducer/anastasis_api_backup_redux.c
@@ -2275,8 +2275,8 @@ update_expiration_cost (json_t *state,
   json_t *providers;
 
   providers = json_object_get (state,
-                               "policy_providers");
-  if (0 == json_array_size (providers))
+                               "authentication_providers");
+  if (! json_is_object (providers))
   {
     GNUNET_break (0);
     return GNUNET_SYSERR;
@@ -2427,6 +2427,7 @@ update_expiration_cost (json_t *state,
   {
     json_t *eo;
 
+    (void) GNUNET_TIME_round_abs (&expiration);
     eo = GNUNET_JSON_from_time_abs (expiration);
     GNUNET_assert (0 ==
                    json_object_set_new (state,

-- 
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]