commit 4c62524511278ea4c1c75b17fef6e004a9d43511 parent 1570cb05a6577a4d453264168a60580942606400 Author: bohdan-potuzhnyi <bohdan.potuzhnyi@gmail.com> Date: Sat, 4 Apr 2026 00:18:11 +0200 fix 0011339 Diffstat:
| M | src/backend/taler-merchant-httpd_helper.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd_helper.c b/src/backend/taler-merchant-httpd_helper.c @@ -87,7 +87,8 @@ TMH_unit_defaults_for_instance (const struct TMH_MerchantInstance *mi, /* This is definitely not supposed to happen combination of allow -> false, and precision > 0 yet let's fix it */ - if (! allow) + if ( (! allow) && + (0 != precision) ) { GNUNET_break (0); precision = 0;