summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index 1c93bb71c..5bfc1168b 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -911,7 +911,7 @@ postgres_prepare (PGconn *db_conn)
",amount_with_fee_curr"
",refund_serial_id"
" FROM refunds"
- " JOIN known_coins ON (coin_pub)"
+ " JOIN known_coins USING (coin_pub)"
" WHERE refund_serial_id>=$1"
" ORDER BY refund_serial_id ASC",
1, NULL);
@@ -1051,7 +1051,7 @@ postgres_prepare (PGconn *db_conn)
",done"
",deposit_serial_id"
" FROM deposits"
- " JOIN known_coins ON (coin_pub)"
+ " JOIN known_coins USING (coin_pub)"
" WHERE ("
" (deposit_serial_id>=$1)"
" )"