diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-12-01 12:06:50 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-12-01 12:06:50 +0100 |
commit | b3c9c94a0cbcc693c0546d4d6598215e9afd0b89 (patch) | |
tree | ee6f73300b215b08637c0838417b4252d2087067 | |
parent | b4c50db80a956c80e6428a9fc76d667d284e1962 (diff) |
address FIXME
-rw-r--r-- | src/exchange/taler-exchange-aggregator.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c index bd8803210..bf13325f7 100644 --- a/src/exchange/taler-exchange-aggregator.c +++ b/src/exchange/taler-exchange-aggregator.c @@ -527,19 +527,10 @@ legitimization_satisfied (struct AggregationUnit *au_active) { json_t *jrules; - union TALER_AccountPublicKeyP account_pub; - struct TALER_ReservePublicKeyP reserve_pub; - bool no_account_pub; - bool no_reserve_pub; - - /* FIXME: optimization potential: custom API to *just* get jrules... */ - qs = db_plugin->get_kyc_rules (db_plugin->cls, - &au_active->h_normalized_payto, - &no_account_pub, - &account_pub, - &no_reserve_pub, - &reserve_pub, - &jrules); + + qs = db_plugin->get_kyc_rules2 (db_plugin->cls, + &au_active->h_normalized_payto, + &jrules); if (qs < 0) { GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs); |