summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/stasis/plugin_anastasis_postgres.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stasis/plugin_anastasis_postgres.c b/src/stasis/plugin_anastasis_postgres.c
index 0f5f30c..24ab570 100644
--- a/src/stasis/plugin_anastasis_postgres.c
+++ b/src/stasis/plugin_anastasis_postgres.c
@@ -1699,9 +1699,9 @@ test_auth_cb (void *cls,
struct TALER_Amount credit;
char *wire_subject;
struct GNUNET_PQ_ResultSpec rs[] = {
- TALER_PQ_result_spec_amount ("credit",
- pg->currency,
- &credit),
+ TALER_PQ_result_spec_amount_tuple ("credit",
+ pg->currency,
+ &credit),
GNUNET_PQ_result_spec_string ("wire_subject",
&wire_subject),
GNUNET_PQ_result_spec_end