diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-30 12:33:03 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-30 12:33:03 +0200 |
commit | 9493a4bc5307aad44e4a1f9300f002a03de3a0f6 (patch) | |
tree | 0e63a53838fc400217939f6a5b27862b2a2ce980 | |
parent | 131a068539ebd4fefb086489f2bc1dbb7e25b8e8 (diff) | |
download | anastasis-9493a4bc5307aad44e4a1f9300f002a03de3a0f6.tar.gz anastasis-9493a4bc5307aad44e4a1f9300f002a03de3a0f6.tar.bz2 anastasis-9493a4bc5307aad44e4a1f9300f002a03de3a0f6.zip |
-remove _tuple suffix
-rw-r--r-- | src/stasis/plugin_anastasis_postgres.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/stasis/plugin_anastasis_postgres.c b/src/stasis/plugin_anastasis_postgres.c index 24ab570..9f4b969 100644 --- a/src/stasis/plugin_anastasis_postgres.c +++ b/src/stasis/plugin_anastasis_postgres.c @@ -1394,8 +1394,8 @@ postgres_record_recdoc_payment ( struct GNUNET_PQ_QueryParam params[] = { GNUNET_PQ_query_param_auto_from_type (account_pub), GNUNET_PQ_query_param_uint32 (&post_counter), - TALER_PQ_query_param_amount_tuple (pg->conn, - amount), + TALER_PQ_query_param_amount (pg->conn, + amount), GNUNET_PQ_query_param_auto_from_type (payment_secret), GNUNET_PQ_query_param_timestamp (&now), GNUNET_PQ_query_param_end @@ -1498,8 +1498,8 @@ postgres_record_truth_upload_payment ( duration); struct GNUNET_PQ_QueryParam params[] = { GNUNET_PQ_query_param_auto_from_type (uuid), - TALER_PQ_query_param_amount_tuple (pg->conn, - amount), + TALER_PQ_query_param_amount (pg->conn, + amount), GNUNET_PQ_query_param_timestamp (&exp), GNUNET_PQ_query_param_end }; @@ -1566,8 +1566,8 @@ postgres_record_challenge_payment ( struct GNUNET_TIME_Timestamp now = GNUNET_TIME_timestamp_get (); struct GNUNET_PQ_QueryParam params[] = { GNUNET_PQ_query_param_auto_from_type (truth_uuid), - TALER_PQ_query_param_amount_tuple (pg->conn, - amount), + TALER_PQ_query_param_amount (pg->conn, + amount), GNUNET_PQ_query_param_auto_from_type (payment_secret), GNUNET_PQ_query_param_timestamp (&now), GNUNET_PQ_query_param_end @@ -1634,8 +1634,8 @@ postgres_record_auth_iban_payment ( struct GNUNET_PQ_QueryParam params[] = { GNUNET_PQ_query_param_uint64 (&wire_reference), GNUNET_PQ_query_param_string (wire_subject), - TALER_PQ_query_param_amount_tuple (pg->conn, - amount), + TALER_PQ_query_param_amount (pg->conn, + amount), GNUNET_PQ_query_param_string (debit_account), GNUNET_PQ_query_param_string (credit_account), GNUNET_PQ_query_param_timestamp (&execution_date), @@ -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_tuple ("credit", - pg->currency, - &credit), + TALER_PQ_result_spec_amount ("credit", + pg->currency, + &credit), GNUNET_PQ_result_spec_string ("wire_subject", &wire_subject), GNUNET_PQ_result_spec_end |