aboutsummaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_batch-withdraw.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-11-14 05:34:19 +0100
committerChristian Grothoff <christian@grothoff.org>2022-11-14 05:34:19 +0100
commit053faa252c2afed8ecbb65bdd6fe8ec6f9ad9ef9 (patch)
treecefe2776cbfb9b9be508158d2be2eec2a1f82d78 /src/exchange/taler-exchange-httpd_batch-withdraw.c
parentd876a950739e66533af168a55439a8652f018d1f (diff)
-refactoring in preparation of fixing #7272
Diffstat (limited to 'src/exchange/taler-exchange-httpd_batch-withdraw.c')
-rw-r--r--src/exchange/taler-exchange-httpd_batch-withdraw.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_batch-withdraw.c b/src/exchange/taler-exchange-httpd_batch-withdraw.c
index 541d6572..7352edfd 100644
--- a/src/exchange/taler-exchange-httpd_batch-withdraw.c
+++ b/src/exchange/taler-exchange-httpd_batch-withdraw.c
@@ -422,10 +422,13 @@ prepare_transaction (const struct TEH_RequestContext *rc,
{
struct PlanchetContext *pc = &wc->planchets[i];
enum TALER_ErrorCode ec;
+ struct TEH_CoinSignData csds = {
+ .h_denom_pub = &pc->collectable.denom_pub_hash,
+ .bp = &pc->blinded_planchet
+ };
ec = TEH_keys_denomination_sign_withdraw (
- &pc->collectable.denom_pub_hash,
- &pc->blinded_planchet,
+ &csds,
&pc->collectable.sig);
if (TALER_EC_NONE != ec)
{