summaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-06-11 17:04:54 +0200
committerChristian Grothoff <christian@grothoff.org>2017-06-11 17:04:54 +0200
commit0580168c0e546a7a224c1e9f19e7b526f84cfa2a (patch)
tree8bf9c3d24b34670270996004c0e4aa12ffb60287 /src/exchangedb/plugin_exchangedb_postgres.c
parentba17729f6568efab7cacfc292670169437cbbda8 (diff)
downloadexchange-0580168c0e546a7a224c1e9f19e7b526f84cfa2a.tar.gz
exchange-0580168c0e546a7a224c1e9f19e7b526f84cfa2a.tar.bz2
exchange-0580168c0e546a7a224c1e9f19e7b526f84cfa2a.zip
automated refunds of expired reserves now work and tested, fixes #4956
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index 929d982f8..2eac21ca7 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)