diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 67b0be4de..8aac5e43b 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -6592,7 +6592,7 @@ postgres_clean_kyc_events (void *cls, }; return GNUNET_PQ_eval_prepared_non_select (session->conn, - "clean_kyv_events", + "clean_kyc_events", params); } diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c index 07372cfb4..0bff60f90 100644 --- a/src/exchangedb/test_exchangedb.c +++ b/src/exchangedb/test_exchangedb.c @@ -390,6 +390,10 @@ kcs (void *cls, FAILIF ((50 != sum.value) || (70 != sum.fraction)); + FAILIF (2 != plugin->clean_kyc_events (NULL, + session, + merchant_serial_id)); + drop: return; }