aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_do_reserve_open.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-10-09 23:23:14 +0200
committerChristian Grothoff <grothoff@gnunet.org>2022-10-09 23:23:14 +0200
commitc1c02b8a3cc43c80b61f9e780d46c17b699abf72 (patch)
tree6ed297a5cd09800742cec1cf0585cc10e9f01d80 /src/exchangedb/pg_do_reserve_open.c
parentea11a9a0fdf754e647c1b09afaa2fa80d5aade02 (diff)
-implementing do_reserves_open logic
Diffstat (limited to 'src/exchangedb/pg_do_reserve_open.c')
-rw-r--r--src/exchangedb/pg_do_reserve_open.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchangedb/pg_do_reserve_open.c b/src/exchangedb/pg_do_reserve_open.c
index f7a3a5f7b..ad18cb936 100644
--- a/src/exchangedb/pg_do_reserve_open.c
+++ b/src/exchangedb/pg_do_reserve_open.c
@@ -47,8 +47,10 @@ TEH_PG_do_reserve_open (
TALER_PQ_query_param_amount (total_paid),
TALER_PQ_query_param_amount (reserve_payment),
GNUNET_PQ_query_param_uint32 (&min_purse_limit),
+ GNUNET_PQ_query_param_uint32 (&pg->def_purse_limit),
GNUNET_PQ_query_param_auto_from_type (reserve_sig),
GNUNET_PQ_query_param_timestamp (&desired_expiration),
+ GNUNET_PQ_query_param_relative_time (&pg->legal_reserve_expiration_time),
GNUNET_PQ_query_param_timestamp (&now),
TALER_PQ_query_param_amount (open_fee),
GNUNET_PQ_query_param_end