diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-01-29 13:58:56 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-01-29 13:58:56 +0100 |
commit | ff202ef296527083b7b0c879bfc8363eb429b642 (patch) | |
tree | 83d281ca52b92917e6c7637760fca8eb25c04e57 /src/lib | |
parent | 99753a5d31868af36285418ed317eeef50921b67 (diff) |
KYC: misc. fixes to attribute attestation logic
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/exchange_api_reserves_attest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/exchange_api_reserves_attest.c b/src/lib/exchange_api_reserves_attest.c index c1cf82761..0a9134e85 100644 --- a/src/lib/exchange_api_reserves_attest.c +++ b/src/lib/exchange_api_reserves_attest.c @@ -97,7 +97,7 @@ handle_reserves_attest_ok (struct TALER_EXCHANGE_ReservesAttestHandle *rsh, struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_timestamp ("exchange_timestamp", &rs.details.ok.exchange_time), - GNUNET_JSON_spec_timestamp ("exchange_timestamp", + GNUNET_JSON_spec_timestamp ("expiration_time", &rs.details.ok.expiration_time), GNUNET_JSON_spec_fixed_auto ("exchange_sig", &rs.details.ok.exchange_sig), @@ -311,8 +311,8 @@ TALER_EXCHANGE_reserves_attest ( &reserve_sig), GNUNET_JSON_pack_timestamp ("request_timestamp", ts), - GNUNET_JSON_pack_object_steal ("details", - details)); + GNUNET_JSON_pack_array_steal ("details", + details)); if (GNUNET_OK != TALER_curl_easy_post (&rsh->post_ctx, |