return base url as part of /keys

This commit is contained in:
Christian Grothoff 2022-11-04 14:54:13 +01:00
parent bcaccec009
commit 576384b26e
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 3 additions and 1 deletions

View File

@ -526,7 +526,7 @@ parse_coin (struct MHD_Connection *connection,
TALER_MHD_reply_with_error (connection,
MHD_HTTP_FORBIDDEN,
TALER_EC_EXCHANGE_DEPOSIT_COIN_SIGNATURE_INVALID,
NULL))
TALER_B2S (&deposit->coin.coin_pub)))
? GNUNET_NO
: GNUNET_SYSERR;
}

View File

@ -1852,6 +1852,8 @@ create_krd (struct TEH_KeyStateHandle *ksh,
keys = GNUNET_JSON_PACK (
GNUNET_JSON_pack_string ("version",
EXCHANGE_PROTOCOL_VERSION),
GNUNET_JSON_pack_string ("base_url",
TEH_base_url),
GNUNET_JSON_pack_string ("currency",
TEH_currency),
GNUNET_JSON_pack_data_auto ("master_public_key",