aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-26 20:06:23 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-26 20:06:23 +0100
commit293c241ae754154e39af9a9ae9f3880d60989f57 (patch)
treed6e9d42583dcd13a043160cc3ef314e27bc90f92 /src/exchangedb/plugin_exchangedb_postgres.c
parente63d3121314c7238930c55d40673640e327f964c (diff)
fix SQL statements
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-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 a353dba96..31f92d58c 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -1224,7 +1224,7 @@ postgres_get_session (void *cls)
",amount_frac"
" FROM recoup_refresh"
" JOIN refresh_revealed_coins rrc"
- " ON (rrc.coin_ev = h_blind_ev)"
+ " ON (rrc.h_coin_ev = h_blind_ev)"
" JOIN refresh_commitments rc"
" ON (rrc.rc = rc.rc)"
" JOIN known_coins coins"
@@ -6536,7 +6536,7 @@ recoup_refresh_serial_helper_cb (void *cls,
struct GNUNET_HashCode h_blind_ev;
struct GNUNET_TIME_Absolute timestamp;
struct GNUNET_PQ_ResultSpec rs[] = {
- GNUNET_PQ_result_spec_uint64 ("recoup_uuid",
+ GNUNET_PQ_result_spec_uint64 ("recoup_refresh_uuid",
&rowid),
TALER_PQ_result_spec_absolute_time ("timestamp",
&timestamp),