summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/exchange_api_common.c')
-rw-r--r--src/lib/exchange_api_common.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/exchange_api_common.c b/src/lib/exchange_api_common.c
index 2e13b678e..2c7923cef 100644
--- a/src/lib/exchange_api_common.c
+++ b/src/lib/exchange_api_common.c
@@ -224,10 +224,8 @@ TALER_EXCHANGE_verify_coin_history (const char *currency,
for the exchange to lie here, so not checking is probably OK
(an auditor ought to check, though). Then again, we similarly
had no reason to check the merchant's signature (other than a
- well-formendess check). */
- /* TODO: check that deposit fee and coin value match
- our expectations from /keys! */
- add = GNUNET_NO;
+ well-formendess check). *//* TODO: check that deposit fee and coin value match
+ our expectations from /keys! */add = GNUNET_NO;
}
else if (0 == strcasecmp (type,
"PAYBACK"))
@@ -297,8 +295,7 @@ TALER_EXCHANGE_verify_coin_history (const char *currency,
However, for the implementation, we first *add* up all of
these negative amounts, as we might get refunds before
deposits from a semi-evil exchange. Then, at the end, we do
- the subtraction by calculating "total = total - rtotal" */
- GNUNET_assert (GNUNET_NO == add);
+ the subtraction by calculating "total = total - rtotal" */GNUNET_assert (GNUNET_NO == add);
if (GNUNET_OK !=
TALER_amount_add (&rtotal,
&rtotal,
@@ -353,4 +350,5 @@ TALER_EXCHANGE_get_exchange_signing_key_info (const struct
return NULL;
}
+
/* end of exchange_api_common.c */