aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_lookup_serial_by_table.c
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-04-22 15:39:02 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-04-22 15:39:02 +0200
commit12681dfa1a4bd2f156a1d1402afa8c0e3250f163 (patch)
treea960297eb068eab7a729ccfac6bbfea9199fbf2f /src/exchangedb/pg_lookup_serial_by_table.c
parent37dd5bed20f829a885c0f86437bf5afb2f30b1d0 (diff)
WiP: age-withdraw, adjust schema and DB-handlers, cleanup FIXME's, 8/n
Diffstat (limited to 'src/exchangedb/pg_lookup_serial_by_table.c')
-rw-r--r--src/exchangedb/pg_lookup_serial_by_table.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/exchangedb/pg_lookup_serial_by_table.c b/src/exchangedb/pg_lookup_serial_by_table.c
index d2554af2..c98b4539 100644
--- a/src/exchangedb/pg_lookup_serial_by_table.c
+++ b/src/exchangedb/pg_lookup_serial_by_table.c
@@ -435,14 +435,14 @@ TEH_PG_lookup_serial_by_table (void *cls,
" LIMIT 1;");
statement = "select_serial_by_table_withdraw_age_commitments";
break;
- case TALER_EXCHANGEDB_RT_WITHDRAW_AGE_REVEALS:
- XPREPARE ("select_serial_by_table_withdraw_age_reveals",
+ case TALER_EXCHANGEDB_RT_WITHDRAW_AGE_REVEALED_COINS:
+ XPREPARE ("select_serial_by_table_withdraw_age_revealed_coins",
"SELECT"
- " withdraw_age_reveals_id AS serial"
- " FROM withdraw_age_reveals"
- " ORDER BY withdraw_age_reveals_id DESC"
+ " withdraw_age_revealed_coins_id AS serial"
+ " FROM withdraw_age_revealed_coins"
+ " ORDER BY withdraw_age_revealed_coins_id DESC"
" LIMIT 1;");
- statement = "select_serial_by_table_withdraw_age_reveals";
+ statement = "select_serial_by_table_withdraw_age_revealed_coins";
break;
}
if (NULL == statement)