summaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-11-03 22:24:26 +0100
committerChristian Grothoff <christian@grothoff.org>2022-11-03 22:24:26 +0100
commitd35dd38a6f0f3b2eaa168944358c5db02bb49093 (patch)
tree73d07de0b5b322fabd5b1a618b6c8df1b0e29553 /src/exchangedb/plugin_exchangedb_postgres.c
parenta3dd7ad9994f16eb1938d2f9a1f68a99b25703cf (diff)
downloadexchange-d35dd38a6f0f3b2eaa168944358c5db02bb49093.tar.gz
exchange-d35dd38a6f0f3b2eaa168944358c5db02bb49093.tar.bz2
exchange-d35dd38a6f0f3b2eaa168944358c5db02bb49093.zip
-fix
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c2
1 files changed, 1 insertions, 1 deletions
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),