aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_get_link_data.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-01-11 12:05:29 +0100
committerChristian Grothoff <christian@grothoff.org>2023-01-11 12:05:29 +0100
commit18515a23749ef723bfc23deb6586348008410820 (patch)
tree8364db1fd62454a2f120a949289b880e087d1e7a /src/exchangedb/pg_get_link_data.c
parentf85fe853ce48b2d1af912e3e10865c39d9cc4ca7 (diff)
parent5de648b0f6f8efba2665dd05cf3b4f45a1ac164b (diff)
Merge branch 'master' of git+ssh://git.taler.net/exchange
Diffstat (limited to 'src/exchangedb/pg_get_link_data.c')
-rw-r--r--src/exchangedb/pg_get_link_data.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/exchangedb/pg_get_link_data.c b/src/exchangedb/pg_get_link_data.c
index f15bf35a..9bc4c9b0 100644
--- a/src/exchangedb/pg_get_link_data.c
+++ b/src/exchangedb/pg_get_link_data.c
@@ -208,7 +208,7 @@ TEH_PG_get_link_data (void *cls,
"WITH rc AS MATERIALIZED ("
"SELECT"
"* FROM refresh_commitments"
- "WHERE old_coin_pub=$1"
+ " WHERE old_coin_pub=$1"
")"
"SELECT "
" tp.transfer_pub"
@@ -219,11 +219,10 @@ TEH_PG_get_link_data (void *cls,
",rrc.freshcoin_index"
",rrc.coin_ev"
" FROM refresh_revealed_coins rrc"
- " USING (melt_serial_id)"
- " JOIN refresh_transfer_keys tp"
- " USING (melt_serial_id)"
- " JOIN denominations denoms"
- " USING (denominations_serial)"
+ " JOIN refresh_transfer_keys tp"
+ " USING (melt_serial_id)"
+ " JOIN denominations denoms"
+ " USING (denominations_serial)"
" ORDER BY tp.transfer_pub, rrc.freshcoin_index ASC");
}