From c4bbc4ac566c3e5f32f40b0db6326bfa68e756c9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 22 Oct 2022 14:00:50 +0200 Subject: fix column name --- src/exchangedb/pg_lookup_serial_by_table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/exchangedb') diff --git a/src/exchangedb/pg_lookup_serial_by_table.c b/src/exchangedb/pg_lookup_serial_by_table.c index 8dc6e061a..b8d254791 100644 --- a/src/exchangedb/pg_lookup_serial_by_table.c +++ b/src/exchangedb/pg_lookup_serial_by_table.c @@ -128,9 +128,9 @@ TEH_PG_lookup_serial_by_table (void *cls, case TALER_EXCHANGEDB_RT_RESERVES_OPEN_DEPOSITS: XPREPARE ("select_serial_by_table_reserves_open_deposits", "SELECT" - " open_request_uuid AS serial" + " reserve_open_deposit_uuid AS serial" " FROM reserves_open_deposits" - " ORDER BY open_request_uuid DESC" + " ORDER BY reserve_open_deposit_uuid DESC" " LIMIT 1;"); break; case TALER_EXCHANGEDB_RT_RESERVES_OUT: -- cgit v1.2.3