commit 48982ff41c8c7c06e3faccb608f2771538d7ac5a
parent bd8d28ef721fcb56813c4e55c5a3c54e1c40852a
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Tue, 28 May 2019 20:08:40 +0200
debug
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git 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 */