gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: return base url as part of /keys


From: gnunet
Subject: [taler-exchange] branch master updated: return base url as part of /keys
Date: Fri, 04 Nov 2022 14:54:20 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 576384b2 return base url as part of /keys
576384b2 is described below

commit 576384b26e808302287ee7b7a22e9b95b66cc656
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Nov 4 14:54:13 2022 +0100

    return base url as part of /keys
---
 src/exchange/taler-exchange-httpd_batch-deposit.c | 2 +-
 src/exchange/taler-exchange-httpd_keys.c          | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/exchange/taler-exchange-httpd_batch-deposit.c 
b/src/exchange/taler-exchange-httpd_batch-deposit.c
index cc0e7131..7a3ea0fa 100644
--- a/src/exchange/taler-exchange-httpd_batch-deposit.c
+++ b/src/exchange/taler-exchange-httpd_batch-deposit.c
@@ -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;
   }
diff --git a/src/exchange/taler-exchange-httpd_keys.c 
b/src/exchange/taler-exchange-httpd_keys.c
index 30c33653..b4f4bacf 100644
--- a/src/exchange/taler-exchange-httpd_keys.c
+++ b/src/exchange/taler-exchange-httpd_keys.c
@@ -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",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]