aboutsummaryrefslogtreecommitdiff
path: root/src/backenddb/pg_insert_exchange_account.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backenddb/pg_insert_exchange_account.c')
-rw-r--r--src/backenddb/pg_insert_exchange_account.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backenddb/pg_insert_exchange_account.c b/src/backenddb/pg_insert_exchange_account.c
index 4495ccc0..536f4f8c 100644
--- a/src/backenddb/pg_insert_exchange_account.c
+++ b/src/backenddb/pg_insert_exchange_account.c
@@ -30,7 +30,7 @@ enum GNUNET_DB_QueryStatus
TMH_PG_insert_exchange_account (
void *cls,
const struct TALER_MasterPublicKeyP *master_pub,
- const char *payto_uri,
+ const struct TALER_FullPayto payto_uri,
const char *conversion_url,
const json_t *debit_restrictions,
const json_t *credit_restrictions,
@@ -39,7 +39,7 @@ TMH_PG_insert_exchange_account (
struct PostgresClosure *pg = cls;
struct GNUNET_PQ_QueryParam params[] = {
GNUNET_PQ_query_param_auto_from_type (master_pub),
- GNUNET_PQ_query_param_string (payto_uri),
+ GNUNET_PQ_query_param_string (payto_uri.full_payto),
NULL == conversion_url
? GNUNET_PQ_query_param_null ()
: GNUNET_PQ_query_param_string (conversion_url),