From d35dd38a6f0f3b2eaa168944358c5db02bb49093 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 3 Nov 2022 22:24:26 +0100 Subject: -fix --- src/exchangedb/plugin_exchangedb_postgres.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index b6715af8d..28dbdbaa8 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -11158,7 +11158,7 @@ postgres_do_purse_merge ( struct PostgresClosure *pg = cls; struct TALER_PaytoHashP h_payto; struct GNUNET_TIME_Timestamp expiration - = GNUNET_TIME_relative_to_timestamp (GNUNET_TIME_UNIT_YEARS); /* FIXME: make this configurable? */ + = GNUNET_TIME_relative_to_timestamp (pg->legal_reserve_expiration_time); struct GNUNET_PQ_QueryParam params[] = { GNUNET_PQ_query_param_auto_from_type (purse_pub), GNUNET_PQ_query_param_auto_from_type (merge_sig), -- cgit v1.2.3