aboutsummaryrefslogtreecommitdiff
path: root/src/backenddb/pg_select_accounts_by_exchange.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backenddb/pg_select_accounts_by_exchange.c')
-rw-r--r--src/backenddb/pg_select_accounts_by_exchange.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backenddb/pg_select_accounts_by_exchange.c b/src/backenddb/pg_select_accounts_by_exchange.c
index c7637031..b8b54623 100644
--- a/src/backenddb/pg_select_accounts_by_exchange.c
+++ b/src/backenddb/pg_select_accounts_by_exchange.c
@@ -64,7 +64,7 @@ parse_accounts (void *cls,
for (unsigned int i = 0; i < num_results; i++)
{
- char *payto_uri;
+ struct TALER_FullPayto payto_uri;
char *conversion_url = NULL;
json_t *debit_restrictions;
json_t *credit_restrictions;
@@ -73,7 +73,7 @@ parse_accounts (void *cls,
GNUNET_PQ_result_spec_auto_from_type ("master_sig",
&master_sig),
GNUNET_PQ_result_spec_string ("payto_uri",
- &payto_uri),
+ &payto_uri.full_payto),
GNUNET_PQ_result_spec_allow_null (
GNUNET_PQ_result_spec_string ("conversion_url",
&conversion_url),