From 0580168c0e546a7a224c1e9f19e7b526f84cfa2a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 11 Jun 2017 17:04:54 +0200 Subject: automated refunds of expired reserves now work and tested, fixes #4956 --- src/exchangedb/plugin_exchangedb_postgres.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/exchangedb/plugin_exchangedb_postgres.c') diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 929d982f..2eac21ca 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -2087,6 +2087,11 @@ postgres_reserves_in_insert (void *cls, */ } + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Creating reserve %s with expiration in %s\n", + TALER_B2S (reserve_pub), + GNUNET_STRINGS_relative_time_to_string (pg->idle_reserve_expiration_time, + GNUNET_NO)); expiry = GNUNET_TIME_absolute_add (execution_time, pg->idle_reserve_expiration_time); if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == reserve_exists) -- cgit v1.2.3