diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-05-28 20:08:40 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-05-28 20:08:40 +0200 |
commit | 48982ff41c8c7c06e3faccb608f2771538d7ac5a (patch) | |
tree | 632daf52a9608990a420f2501027b750b7619fbd /src/backend/taler-merchant-httpd_pay.c | |
parent | bd8d28ef721fcb56813c4e55c5a3c54e1c40852a (diff) | |
download | merchant-48982ff41c8c7c06e3faccb608f2771538d7ac5a.tar.gz merchant-48982ff41c8c7c06e3faccb608f2771538d7ac5a.tar.bz2 merchant-48982ff41c8c7c06e3faccb608f2771538d7ac5a.zip |
debug
Diffstat (limited to 'src/backend/taler-merchant-httpd_pay.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_pay.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_pay.c b/src/backend/taler-merchant-httpd_pay.c index 5a2fab22..ed2f0cd6 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 */ |