[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: nicer logging
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: nicer logging |
Date: |
Fri, 12 May 2017 22:41:31 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 5dff30e nicer logging
5dff30e is described below
commit 5dff30e20bc6dc64f540890e33f33aeda3cd750d
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri May 12 22:41:29 2017 +0200
nicer logging
---
src/exchange-lib/exchange_api_deposit.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/exchange-lib/exchange_api_deposit.c
b/src/exchange-lib/exchange_api_deposit.c
index 7a3aff1..80729f0 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;
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch master updated: nicer logging,
gnunet <=