aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-10-12 14:48:49 +0200
committerChristian Grothoff <christian@grothoff.org>2022-10-12 14:48:56 +0200
commit3b34acdb72cd450974a3bbde6169f1bf9644a302 (patch)
tree258cf3fd47067df77aee2e9ebcc12a1db75cc1da /src/lib
parent3036c21283921015339a4b33b0315b98762ace7c (diff)
downloadexchange-3b34acdb72cd450974a3bbde6169f1bf9644a302.tar.xz
-update to latest GNUNET_PQ_make_prepare() API
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_reserves_open.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/exchange_api_reserves_open.c b/src/lib/exchange_api_reserves_open.c
index 08d267fb7..b41c3f88b 100644
--- a/src/lib/exchange_api_reserves_open.c
+++ b/src/lib/exchange_api_reserves_open.c
@@ -252,6 +252,9 @@ handle_reserves_open_finished (void *cls,
/* This should never happen, either us or the exchange is buggy
(or API version conflict); just pass JSON reply to the application */
GNUNET_break (0);
+ json_dumpf (j,
+ stderr,
+ JSON_INDENT (2));
rs.hr.ec = TALER_JSON_get_error_code (j);
rs.hr.hint = TALER_JSON_get_error_hint (j);
break;
@@ -452,7 +455,7 @@ TALER_EXCHANGE_reserves_open (
cpa),
TALER_JSON_pack_amount ("reserve_payment",
reserve_contribution),
- GNUNET_JSON_pack_uint64 ("min_purses",
+ GNUNET_JSON_pack_uint64 ("purse_limit",
min_purses),
GNUNET_JSON_pack_data_auto ("reserve_sig",
&roh->reserve_sig));