commit c139ab0c0da024a2c7c880bbd1cda77b5b3ed508
parent d3d70ffd6fb3a502dd5c6712c8a26fb4ed7dfad1
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date: Fri, 9 Jun 2017 15:10:47 +0200
diagnostics
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
@@ -1895,6 +1895,12 @@ postgres_increase_refund_for_contract (void *cls,
* Here we know how much the coin is worth, and how much it has
* been refunded out of it, so the actual logic can take place.
*/
+
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Refund situation for coin '%s', deposited: %s, refunded: %s\n",
+ TALER_B2S (&coin_pub),
+ TALER_amount_to_string (&amount_with_fee),
+ TALER_amount_to_string (&refunded_amount));
}
if (GNUNET_OK != postgres_commit (cls))