summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-06-21 09:03:55 +0200
committerChristian Grothoff <christian@grothoff.org>2023-06-21 09:03:55 +0200
commitc512c8b1018151f2c9edf77e1fa49a622636a062 (patch)
tree26b88d39bcd7c715e5ac4ac6c769620ecae20366
parentf5ce22ddf6da6aae6a9077dba122013c1dbc55d9 (diff)
downloadexchange-c512c8b1018151f2c9edf77e1fa49a622636a062.tar.gz
exchange-c512c8b1018151f2c9edf77e1fa49a622636a062.tar.bz2
exchange-c512c8b1018151f2c9edf77e1fa49a622636a062.zip
-simplify
-rw-r--r--src/lib/exchange_api_link.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/lib/exchange_api_link.c b/src/lib/exchange_api_link.c
index c2b7ac0b4..cc65b0dd3 100644
--- a/src/lib/exchange_api_link.c
+++ b/src/lib/exchange_api_link.c
@@ -37,11 +37,6 @@ struct TALER_EXCHANGE_LinkHandle
{
/**
- * The connection to exchange this request handle will use
- */
- struct TALER_EXCHANGE_Handle *exchange;
-
- /**
* The url for this request.
*/
char *url;
@@ -451,12 +446,12 @@ handle_link_finished (void *cls,
struct TALER_EXCHANGE_LinkHandle *
-TALER_EXCHANGE_link (struct TALER_EXCHANGE_Handle *exchange,
- const struct TALER_CoinSpendPrivateKeyP *coin_priv,
- const struct
- TALER_AgeCommitmentProof *age_commitment_proof,
- TALER_EXCHANGE_LinkCallback link_cb,
- void *link_cb_cls)
+TALER_EXCHANGE_link (
+ struct TALER_EXCHANGE_Handle *exchange,
+ const struct TALER_CoinSpendPrivateKeyP *coin_priv,
+ const struct TALER_AgeCommitmentProof *age_commitment_proof,
+ TALER_EXCHANGE_LinkCallback link_cb,
+ void *link_cb_cls)
{
struct TALER_EXCHANGE_LinkHandle *lh;
CURL *eh;
@@ -489,7 +484,6 @@ TALER_EXCHANGE_link (struct TALER_EXCHANGE_Handle *exchange,
pub_str);
}
lh = GNUNET_new (struct TALER_EXCHANGE_LinkHandle);
- lh->exchange = exchange;
lh->link_cb = link_cb;
lh->link_cb_cls = link_cb_cls;
lh->coin_priv = *coin_priv;