summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_responses.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-08 23:36:09 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-08 23:36:09 +0100
commit260e287685680d97448920432b4673469a99a83f (patch)
treec06e99b6724f8ca2d2a815d1c95f80dd4a4bec53 /src/exchange/taler-exchange-httpd_responses.c
parentdb61628a9cffbfc4e33e0f0094039c71ef7b96be (diff)
downloadexchange-260e287685680d97448920432b4673469a99a83f.tar.gz
exchange-260e287685680d97448920432b4673469a99a83f.tar.bz2
exchange-260e287685680d97448920432b4673469a99a83f.zip
change wire_reference to be uint64_t always; more work on lrbt_callbacks
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.c')
-rw-r--r--src/exchange/taler-exchange-httpd_responses.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c
index ba050e9f..ea9729af 100644
--- a/src/exchange/taler-exchange-httpd_responses.c
+++ b/src/exchange/taler-exchange-httpd_responses.c
@@ -511,7 +511,7 @@ TEH_RESPONSE_compile_reserve_history (
if (0 !=
json_array_append_new (
json_history,
- json_pack ("{s:s, s:o, s:s, s:o, s:o}",
+ json_pack ("{s:s, s:o, s:s, s:I, s:o}",
"type",
"CREDIT",
"timestamp",
@@ -519,8 +519,7 @@ TEH_RESPONSE_compile_reserve_history (
"sender_account_url",
bank->sender_account_details,
"wire_reference",
- GNUNET_JSON_from_data (bank->wire_reference,
- bank->wire_reference_size),
+ (json_int_t) bank->wire_reference,
"amount",
TALER_JSON_from_amount (&bank->amount))))
{