aboutsummaryrefslogtreecommitdiff
path: root/src/exchange-lib/exchange_api_deposit.c
diff options
context:
space:
mode:
authorJeffrey Burdges <burdges@gnunet.org>2017-05-13 15:07:48 +0200
committerJeffrey Burdges <burdges@gnunet.org>2017-05-13 15:07:48 +0200
commit4c90a797da79376d7b1f5e764908a50386fe5374 (patch)
tree8d9c7c56fb0d31212a9769efd6b6d3de2e52ab11 /src/exchange-lib/exchange_api_deposit.c
parentd010d31c0953376dd7e1e5f212c5a2e0ef48feee (diff)
parent5dff30e20bc6dc64f540890e33f33aeda3cd750d (diff)
Merge branch 'master' of ssh://taler.net/exchange
Diffstat (limited to 'src/exchange-lib/exchange_api_deposit.c')
-rw-r--r--src/exchange-lib/exchange_api_deposit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exchange-lib/exchange_api_deposit.c b/src/exchange-lib/exchange_api_deposit.c
index 7a3aff141..80729f096 100644
--- a/src/exchange-lib/exchange_api_deposit.c
+++ b/src/exchange-lib/exchange_api_deposit.c
@@ -318,8 +318,8 @@ verify_signatures (const struct TALER_EXCHANGE_DenomPublicKey *dki,
&coin_sig->eddsa_signature,
&coin_pub->eddsa_pub))
{
- GNUNET_break (0);
- TALER_LOG_WARNING ("Invalid coin signature on /deposit request\n");
+ GNUNET_break_op (0);
+ TALER_LOG_WARNING ("Invalid coin signature on /deposit request!\n");
{
TALER_LOG_DEBUG ("... amount_with_fee was %s\n",
TALER_amount2s (amount));
@@ -337,14 +337,14 @@ verify_signatures (const struct TALER_EXCHANGE_DenomPublicKey *dki,
if (GNUNET_YES !=
TALER_test_coin_valid (&coin_info))
{
- GNUNET_break (0);
+ GNUNET_break_op (0);
TALER_LOG_WARNING ("Invalid coin passed for /deposit\n");
return GNUNET_SYSERR;
}
if (0 < TALER_amount_cmp (&dki->fee_deposit,
amount))
{
- GNUNET_break (0);
+ GNUNET_break_op (0);
TALER_LOG_WARNING ("Deposit amount smaller than fee\n");
return GNUNET_SYSERR;
}