gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] branch master updated: debug


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: debug
Date: Tue, 28 May 2019 20:08:47 +0200

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

marcello pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 48982ff  debug
48982ff is described below

commit 48982ff41c8c7c06e3faccb608f2771538d7ac5a
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue May 28 20:08:40 2019 +0200

    debug
---
 src/backend/taler-merchant-httpd_pay.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/backend/taler-merchant-httpd_pay.c 
b/src/backend/taler-merchant-httpd_pay.c
index 5a2fab2..ed2f0cd 100644
--- a/src/backend/taler-merchant-httpd_pay.c
+++ b/src/backend/taler-merchant-httpd_pay.c
@@ -684,6 +684,10 @@ check_payment_sufficient (struct PayContext *pc)
         }
       if (GNUNET_YES == new_exchange)
       {
+        GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+                    "Depositing coins at: %s\n",
+                    dc->exchange_url);
+
         if (GNUNET_OK !=
             TALER_amount_add (&total_wire_fee,
                               &total_wire_fee,
@@ -695,6 +699,10 @@ check_payment_sufficient (struct PayContext *pc)
       }
     }
   }
+  GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+              "Total wire fee: %s\nMax wire fee: %s\n",
+              TALER_amount_to_string (&total_wire_fee),
+              TALER_amount_to_string (&pc->max_wire_fee));
 
   /* Now compare exchange wire fee compared to
    * what we are willing to pay */

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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