gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: coarsen deposit transaction


From: gnunet
Subject: [taler-exchange] branch master updated: coarsen deposit transaction
Date: Tue, 07 Jun 2022 20:46:59 +0200

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 93752494 coarsen deposit transaction
93752494 is described below

commit 937524940a9994340ccaf8c200bbac0b59da6cd0
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Jun 7 20:46:52 2022 +0200

    coarsen deposit transaction
---
 src/exchange/taler-exchange-httpd_deposit.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/exchange/taler-exchange-httpd_deposit.c 
b/src/exchange/taler-exchange-httpd_deposit.c
index f5e18507..48e1df9a 100644
--- a/src/exchange/taler-exchange-httpd_deposit.c
+++ b/src/exchange/taler-exchange-httpd_deposit.c
@@ -157,6 +157,12 @@ deposit_transaction (void *cls,
   bool balance_ok;
   bool in_conflict;
 
+  qs = TEH_make_coin_known (&dc->deposit->coin,
+                            connection,
+                            &dc->known_coin_id,
+                            mhd_ret);
+  if (qs < 0)
+    return qs;
   qs = TEH_plugin->do_deposit (TEH_plugin->cls,
                                dc->deposit,
                                dc->known_coin_id,
@@ -445,6 +451,7 @@ TEH_handler_deposit (struct MHD_Connection *connection,
                                        "preflight failure");
   }
 
+#if NOT_MOVED
   {
     MHD_RESULT mhd_ret = MHD_NO;
     enum GNUNET_DB_QueryStatus qs;
@@ -471,7 +478,7 @@ TEH_handler_deposit (struct MHD_Connection *connection,
     if (qs < 0)
       return mhd_ret;
   }
-
+#endif
 
   /* execute transaction */
   {

-- 
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]