diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-06-04 14:07:02 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-06-04 14:07:02 +0200 |
commit | 3e99c50c0f940fda34585225c38c9014cc1110d0 (patch) | |
tree | 849a1ffbf689ee2b87243a979cd0d48d62505963 | |
parent | d04769b729a6a7153c76d56ab3764efe2ca28667 (diff) |
-fix SQL
-rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 2d99311af..3a269c6de 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -1262,13 +1262,13 @@ prepare_statements (struct PostgresClosure *pg) "get_purse_deposit_by_coin_pub", "SELECT" " partner_base_url" - ",amount_with_fee_val" - ",amount_with_fee_frac" + ",pd.amount_with_fee_val" + ",pd.amount_with_fee_frac" ",denoms.fee_deposit_val" ",denoms.fee_deposit_frac" - ",purse_pub" - ",coin_sig" - ",purse_deposit_serial_id" + ",pd.purse_pub" + ",pd.coin_sig" + ",pd.purse_deposit_serial_id" ",pr.refunded" " FROM purse_deposits pd" " LEFT JOIN partners" |