fix critical bug in transaction history query for recoup-refresh

This commit is contained in:
Florian Dold 2020-03-20 13:52:29 +05:30
parent 10c56bcea0
commit c17f05b5fd
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 934a6a18301e81c4fd1b3a8cda2dc13dca4741cc
Subproject commit ca53235ccfa0458ebf11c204888ca370e20ec3f5

View File

@ -1160,7 +1160,7 @@ postgres_get_session (void *cls)
") VALUES "
"($1, $2, $3, $4, $5, $6, $7);",
7),
/* Used in #postgres_insert_recoup_request() to store recoup-refresh
/* Used in #postgres_insert_recoup_refresh_request() to store recoup-refresh
information */
GNUNET_PQ_make_prepare ("recoup_refresh_insert",
"INSERT INTO recoup_refresh "
@ -1349,7 +1349,7 @@ postgres_get_session (void *cls)
",recoup_refresh_uuid"
" 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"