exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

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

-more logging

Diffstat:
Msrc/util/amount.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git 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; }