From b4128c2c2a9df7bf3bacdbbb8e2e9ef250a3382e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Wed, 1 Mar 2023 11:11:46 +0100 Subject: WiP: age-withdraw implementation, part 1/n Commit phase of the age-withdraw protocol implemented, according to https://docs.taler.net/core/api-exchange.html#withdraw-with-age-restriction --- src/exchangedb/plugin_exchangedb_postgres.c | 3 +++ 1 file changed, 3 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 bbf061258..2ef250775 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -116,6 +116,7 @@ #include "pg_drain_kyc_alert.h" #include "pg_reserves_in_insert.h" #include "pg_get_withdraw_info.h" +#include "pg_get_age_withdraw_info.h" #include "pg_do_batch_withdraw.h" #include "pg_get_policy_details.h" #include "pg_persist_policy_details.h" @@ -580,6 +581,8 @@ libtaler_plugin_exchangedb_postgres_init (void *cls) = &TEH_PG_get_withdraw_info; plugin->do_batch_withdraw = &TEH_PG_do_batch_withdraw; + plugin->get_age_withdraw_info + = &TEH_PG_get_age_withdraw_info; plugin->get_policy_details = &TEH_PG_get_policy_details; plugin->persist_policy_details -- cgit v1.2.3