gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -more logging


From: gnunet
Subject: [taler-exchange] branch master updated: -more logging
Date: Thu, 07 Mar 2024 15:12:31 +0100

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 fb02619f -more logging
fb02619f is described below

commit fb02619f98eca93de71aaee9c7c8d83ac77025bc
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Mar 7 15:12:27 2024 +0100

    -more logging
---
 src/util/amount.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/util/amount.c b/src/util/amount.c
index 88f4b6aa..ee50a9bc 100644
--- a/src/util/amount.c
+++ b/src/util/amount.c
@@ -261,7 +261,10 @@ enum GNUNET_GenericReturnValue
 TALER_amount_is_valid (const struct TALER_Amount *amount)
 {
   if (amount->value > TALER_AMOUNT_MAX_VALUE)
+  {
+    GNUNET_break (0);
     return GNUNET_SYSERR;
+  }
   return ('\0' != amount->currency[0]) ? GNUNET_OK : GNUNET_NO;
 }
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]