summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_deposit.c
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/lib/exchange_api_deposit.c
parent74cf7654e5a4002787b8dd4d9ac43379142afd3f (diff)
downloadexchange-ff2eb4f3ddf513f80e8e7dc3ab474a218ee928f4.tar.gz
exchange-ff2eb4f3ddf513f80e8e7dc3ab474a218ee928f4.tar.bz2
exchange-ff2eb4f3ddf513f80e8e7dc3ab474a218ee928f4.zip
-fix batch deposit uninit issue
Diffstat (limited to 'src/lib/exchange_api_deposit.c')
-rw-r--r--src/lib/exchange_api_deposit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/exchange_api_deposit.c b/src/lib/exchange_api_deposit.c
index 329643413..3ba986b2d 100644
--- a/src/lib/exchange_api_deposit.c
+++ b/src/lib/exchange_api_deposit.c
@@ -421,7 +421,6 @@ TALER_EXCHANGE_deposit (
"/coins/%s/deposit",
pub_str);
}
-
key_state = TALER_EXCHANGE_get_keys (exchange);
dki = TALER_EXCHANGE_get_denomination_key_by_hash (key_state,
&cdd->h_denom_pub);
@@ -431,7 +430,6 @@ TALER_EXCHANGE_deposit (
GNUNET_break_op (0);
return NULL;
}
-
if (0 >
TALER_amount_subtract (&amount_without_fee,
&cdd->amount,