summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2017-06-09 15:10:47 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2017-06-09 15:10:47 +0200
commitc139ab0c0da024a2c7c880bbd1cda77b5b3ed508 (patch)
treec5dcd827fa962accc4427692ae47dcdb116c3a78
parentd3d70ffd6fb3a502dd5c6712c8a26fb4ed7dfad1 (diff)
downloadmerchant-c139ab0c0da024a2c7c880bbd1cda77b5b3ed508.tar.gz
merchant-c139ab0c0da024a2c7c880bbd1cda77b5b3ed508.tar.bz2
merchant-c139ab0c0da024a2c7c880bbd1cda77b5b3ed508.zip
diagnostics
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index ae0efd2b..05f262b3 100644
--- 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))