aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-07-02 22:51:45 +0200
committerChristian Grothoff <christian@grothoff.org>2022-07-02 22:51:45 +0200
commitff2eb4f3ddf513f80e8e7dc3ab474a218ee928f4 (patch)
tree57986fff3b397ab96f88b4d7590f405ad4ce28a6 /src/util
parent74cf7654e5a4002787b8dd4d9ac43379142afd3f (diff)
downloadexchange-ff2eb4f3ddf513f80e8e7dc3ab474a218ee928f4.tar.xz
-fix batch deposit uninit issue
Diffstat (limited to 'src/util')
-rw-r--r--src/util/wallet_signatures.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/util/wallet_signatures.c b/src/util/wallet_signatures.c
index f4efb2719..4761ab6e7 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,