From ff2eb4f3ddf513f80e8e7dc3ab474a218ee928f4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 2 Jul 2022 22:51:45 +0200 Subject: -fix batch deposit uninit issue --- src/util/wallet_signatures.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/util/wallet_signatures.c') diff --git a/src/util/wallet_signatures.c b/src/util/wallet_signatures.c index f4efb271..4761ab6e 100644 --- a/src/util/wallet_signatures.c +++ b/src/util/wallet_signatures.c @@ -138,10 +138,8 @@ TALER_wallet_deposit_sign ( if (NULL != h_age_commitment) dr.h_age_commitment = *h_age_commitment; - if (NULL != h_extensions) dr.h_extensions = *h_extensions; - TALER_amount_hton (&dr.amount_with_fee, amount); TALER_amount_hton (&dr.deposit_fee, @@ -182,15 +180,12 @@ TALER_wallet_deposit_verify ( if (NULL != h_age_commitment) dr.h_age_commitment = *h_age_commitment; - if (NULL != h_extensions) dr.h_extensions = *h_extensions; - TALER_amount_hton (&dr.amount_with_fee, amount); TALER_amount_hton (&dr.deposit_fee, deposit_fee); - if (GNUNET_OK != GNUNET_CRYPTO_eddsa_verify (TALER_SIGNATURE_WALLET_COIN_DEPOSIT, &dr, -- cgit v1.2.3