fix column name

This commit is contained in:
Christian Grothoff 2022-10-22 14:00:50 +02:00
parent 1435e5627e
commit c4bbc4ac56
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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: