aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-reconciliation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-reconciliation.c')
-rw-r--r--src/backend/taler-merchant-reconciliation.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/taler-merchant-reconciliation.c b/src/backend/taler-merchant-reconciliation.c
index 0611204d..238e33fd 100644
--- a/src/backend/taler-merchant-reconciliation.c
+++ b/src/backend/taler-merchant-reconciliation.c
@@ -134,7 +134,7 @@ struct Inquiry
/**
* payto:// URI used for the transfer.
*/
- char *payto_uri;
+ struct TALER_FullPayto payto_uri;
/**
* Handle for the /wire/transfers request.
@@ -397,7 +397,7 @@ end_inquiry (struct Inquiry *w)
w->wdh = NULL;
}
GNUNET_free (w->instance_id);
- GNUNET_free (w->payto_uri);
+ GNUNET_free (w->payto_uri.full_payto);
GNUNET_CONTAINER_DLL_remove (e->w_head,
e->w_tail,
w);
@@ -520,7 +520,7 @@ check_wire_fee (struct Inquiry *w,
GNUNET_break (0);
return GNUNET_NO;
}
- wire_method = TALER_payto_get_method (w->payto_uri);
+ wire_method = TALER_payto_get_method (w->payto_uri.full_payto);
qs = db_plugin->lookup_wire_fee (db_plugin->cls,
&keys->master_pub,
wire_method,
@@ -978,7 +978,7 @@ start_inquiry (
uint64_t rowid,
const char *instance_id,
const char *exchange_url,
- const char *payto_uri,
+ struct TALER_FullPayto payto_uri,
const struct TALER_WireTransferIdentifierRawP *wtid,
const struct TALER_Amount *total,
struct GNUNET_TIME_Absolute next_attempt)
@@ -1010,7 +1010,7 @@ start_inquiry (
active_inquiries++;
w = GNUNET_new (struct Inquiry);
- w->payto_uri = GNUNET_strdup (payto_uri);
+ w->payto_uri.full_payto = GNUNET_strdup (payto_uri.full_payto);
w->instance_id = GNUNET_strdup (instance_id);
w->rowid = rowid;
w->wtid = *wtid;