summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_withdraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange/taler-exchange-httpd_withdraw.c')
-rw-r--r--src/exchange/taler-exchange-httpd_withdraw.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/exchange/taler-exchange-httpd_withdraw.c b/src/exchange/taler-exchange-httpd_withdraw.c
index 27b176722..71128bf53 100644
--- a/src/exchange/taler-exchange-httpd_withdraw.c
+++ b/src/exchange/taler-exchange-httpd_withdraw.c
@@ -448,11 +448,17 @@ TEH_handler_withdraw (struct TEH_RequestContext *rc,
NULL);
}
- /* Sign before transaction! */
- ec = TEH_keys_denomination_sign_withdraw (
- &wc.collectable.denom_pub_hash,
- &wc.blinded_planchet,
- &wc.collectable.sig);
+ {
+ struct TEH_CoinSignData csd = {
+ .h_denom_pub = &wc.collectable.denom_pub_hash,
+ .bp = &wc.blinded_planchet
+ };
+
+ /* Sign before transaction! */
+ ec = TEH_keys_denomination_sign_withdraw (
+ &csd,
+ &wc.collectable.sig);
+ }
if (TALER_EC_NONE != ec)
{
GNUNET_break (0);