merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit f9bfc8b0ea7c9321b9ac0f14646a5865495577b2
parent 08a14a16f94222a1ddf8e51be5eaf390bf15d4ad
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Thu, 16 Jul 2026 01:50:37 +0200

fix assertion

Diffstat:
Msrc/util/value_kinds.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/util/value_kinds.c b/src/util/value_kinds.c @@ -281,8 +281,8 @@ TALER_MERCHANT_vk_format_fractional_string ( } GNUNET_assert ( (TALER_MERCHANT_VK_QUANTITY != kind) || - ((INT64_MAX != (int64_t) integer) && - (INT32_MAX != (int32_t) fractional)) ); + (! ((INT64_MAX == (int64_t) integer) && + (INT32_MAX == (int32_t) fractional))) ); GNUNET_assert (fractional < TALER_MERCHANT_UNIT_FRAC_BASE); if (0 == fractional)