diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-01-19 17:03:19 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-01-19 17:03:19 +0100 |
commit | fc8bdb9b978334d52b80c318f9326394f855de2d (patch) | |
tree | 428c6b9235dee248bef4fc7e7c41b029495b0d0f /src/lib/exchange_api_wire.c | |
parent | 9f522baadcf3b5288d35216962a91b5aeb688820 (diff) | |
download | exchange-fc8bdb9b978334d52b80c318f9326394f855de2d.tar.xz |
consistently use payto URI instead of URL
Diffstat (limited to 'src/lib/exchange_api_wire.c')
-rw-r--r-- | src/lib/exchange_api_wire.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/exchange_api_wire.c b/src/lib/exchange_api_wire.c index 60ab4a6d1..9d17f5c80 100644 --- a/src/lib/exchange_api_wire.c +++ b/src/lib/exchange_api_wire.c @@ -271,7 +271,7 @@ handle_wire_finished (void *cls, struct TALER_EXCHANGE_WireAccount *wa = &was[i]; json_t *account; struct GNUNET_JSON_Specification spec_account[] = { - GNUNET_JSON_spec_string ("url", &wa->url), + GNUNET_JSON_spec_string ("payto_uri", &wa->payto_uri), GNUNET_JSON_spec_fixed_auto ("master_sig", &wa->master_sig), GNUNET_JSON_spec_end () }; @@ -300,7 +300,7 @@ handle_wire_finished (void *cls, ec = TALER_EC_SERVER_JSON_INVALID; break; } - if (NULL == (method = TALER_payto_get_method (wa->url))) + if (NULL == (method = TALER_payto_get_method (wa->payto_uri))) { /* bogus reply */ GNUNET_break_op (0); |