diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-10-30 17:36:57 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-10-30 17:36:57 +0100 |
commit | 2d55647f2aab1feb37d5439049f6824d11cda56c (patch) | |
tree | aef525c04a030b318a97b9d8ae77573ca73a8237 /src/exchangedb/pg_lookup_serial_by_table.c | |
parent | 38a078d543f53ca4925ea364919306395e7e4597 (diff) |
add support for reserve open/close operations to auditor, begin to split off purse auditing logic
Diffstat (limited to 'src/exchangedb/pg_lookup_serial_by_table.c')
-rw-r--r-- | src/exchangedb/pg_lookup_serial_by_table.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/exchangedb/pg_lookup_serial_by_table.c b/src/exchangedb/pg_lookup_serial_by_table.c index b8d25479..202be30f 100644 --- a/src/exchangedb/pg_lookup_serial_by_table.c +++ b/src/exchangedb/pg_lookup_serial_by_table.c @@ -293,12 +293,12 @@ TEH_PG_lookup_serial_by_table (void *cls, " ORDER BY purse_requests_serial_id DESC" " LIMIT 1;") break; - case TALER_EXCHANGEDB_RT_PURSE_REFUNDS: - XPREPARE ("select_serial_by_table_purse_refunds", + case TALER_EXCHANGEDB_RT_PURSE_DECISION: + XPREPARE ("select_serial_by_table_purse_decision", "SELECT" - " purse_refunds_serial_id AS serial" - " FROM purse_refunds" - " ORDER BY purse_refunds_serial_id DESC" + " purse_decision_serial_id AS serial" + " FROM purse_decision" + " ORDER BY purse_decision_serial_id DESC" " LIMIT 1;"); break; case TALER_EXCHANGEDB_RT_PURSE_MERGES: |