exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit d12751ae09fc7a4519e289bd08026a928b728539
parent 80fe37fa7bc878941d011dfaa0e0547c6927ecf0
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 29 Jun 2026 23:40:38 +0200

account name is already part of auth->core_bank_url, do not pass it separately

Diffstat:
Msrc/bank-lib/bank_api_account_token.c | 1-
Msrc/bank-lib/taler-exchange-wire-gateway-client.c | 1-
Msrc/include/taler/taler_bank_service.h | 4+---
Msrc/testing/testing_api_cmd_bank_account_token.c | 1-
4 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/bank-lib/bank_api_account_token.c b/src/bank-lib/bank_api_account_token.c @@ -173,7 +173,6 @@ struct TALER_BANK_AccountTokenHandle * TALER_BANK_account_token ( struct GNUNET_CURL_Context *ctx, const struct TALER_BANK_AuthenticationData *auth, - const char *account_name, enum TALER_BANK_TokenScope scope, bool refreshable, const char *description, diff --git a/src/bank-lib/taler-exchange-wire-gateway-client.c b/src/bank-lib/taler-exchange-wire-gateway-client.c @@ -748,7 +748,6 @@ run (void *cls, scope = TALER_BANK_TOKEN_SCOPE_READWRITE; ath = TALER_BANK_account_token (ctx, &auth, - auth.details.basic.username, // FIXME: why? correct? scope, false, /* refreshable */ "taler-exchange-wire-gateway-client CLI token", diff --git a/src/include/taler/taler_bank_service.h b/src/include/taler/taler_bank_service.h @@ -69,7 +69,7 @@ struct TALER_BANK_AuthenticationData char *wire_gateway_url; /** - * Base URL including "/accpunts/$USERNAME/" to use + * Base URL including "/accounts/$USERNAME/" to use * to talk to the core bank API. Useful to get a more * specific access token instead of using basic authentication * the whole time. Optional, can be NULL (as we do not @@ -232,7 +232,6 @@ enum TALER_BANK_TokenScope * * @param ctx curl context for the event loop * @param auth authentication data to send to the bank - * @param account_name username of the bank account to get a token for * @param scope requested token scope * @param refreshable true if the token should be refreshable * @param description human-readable token description (for token management) @@ -247,7 +246,6 @@ struct TALER_BANK_AccountTokenHandle * TALER_BANK_account_token ( struct GNUNET_CURL_Context *ctx, const struct TALER_BANK_AuthenticationData *auth, - const char *account_name, enum TALER_BANK_TokenScope scope, bool refreshable, const char *description, diff --git a/src/testing/testing_api_cmd_bank_account_token.c b/src/testing/testing_api_cmd_bank_account_token.c @@ -130,7 +130,6 @@ account_token_run ( = TALER_BANK_account_token ( TALER_TESTING_interpreter_get_context (is), &fts->auth, - fts->account_name, fts->scope, fts->refreshable, NULL /* description */,