commit b5af1c99052f4c5053070cd5c6cc39b68eca2a20
parent 443a687b65c37d9a670058d3e04b9d36ae0354b5
Author: Antoine A <>
Date: Thu, 2 Jul 2026 12:14:33 +0200
common: new signature for prepared transfer API
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd_post-private-accounts-H_WIRE-kycauth.c b/src/backend/taler-merchant-httpd_post-private-accounts-H_WIRE-kycauth.c
@@ -29,6 +29,7 @@
#include "taler-merchant-httpd_exchanges.h"
#include "taler-merchant-httpd_post-private-accounts-H_WIRE-kycauth.h"
#include "merchant-database/select_account.h"
+#include "taler/taler_util.h"
/**
@@ -486,7 +487,7 @@ process_keys_cb (void *cls,
for (unsigned int i = 0; i < keys->accounts_len; i++)
{
struct ExchangeAccount *acc = &kac->exchange_accounts[i];
- struct TALER_ReserveMapAuthorizationPrivateKeyP apk;
+ struct TALER_PreparedTransferAuthorizationPrivateKeyP apk;
GNUNET_CRYPTO_eddsa_key_create (&apk.eddsa_priv);
acc->kac = kac;
@@ -501,6 +502,7 @@ process_keys_cb (void *cls,
acc->brh = TALER_BANK_registration (
TMH_curl_ctx,
keys->accounts[i].prepared_transfer_url,
+ &keys->accounts[i].fpayto_uri,
&kac->tiny_amount,
TALER_BANK_REGISTRATION_TYPE_KYC,
(const union TALER_AccountPublicKeyP *) &mi->merchant_pub,