[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] branch master updated: -fix pack logic
From: |
gnunet |
Subject: |
[taler-anastasis] branch master updated: -fix pack logic |
Date: |
Mon, 12 Jul 2021 10:15:02 +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 124d994 -fix pack logic
124d994 is described below
commit 124d994fbb5df98fa2c40fcdc1ff6443e4db222c
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Jul 12 10:15:00 2021 +0200
-fix pack logic
---
src/reducer/anastasis_api_backup_redux.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/reducer/anastasis_api_backup_redux.c
b/src/reducer/anastasis_api_backup_redux.c
index b24bad0..78c5be9 100644
--- a/src/reducer/anastasis_api_backup_redux.c
+++ b/src/reducer/anastasis_api_backup_redux.c
@@ -2446,7 +2446,9 @@ update_expiration_cost (json_t *state,
struct Costs *nxt = costs->next;
json_t *ao;
- ao = TALER_JSON_from_amount (&costs->cost);
+ ao = json_pack ("{s:o}",
+ "fee",
+ TALER_JSON_from_amount (&costs->cost));
GNUNET_assert (0 ==
json_array_append_new (arr,
ao));
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis] branch master updated: -fix pack logic,
gnunet <=