commit 3c4d6f1ba2f0e608605c6dffa6b381675c333245
parent 007cc7abe8aa4430e78ee833ba874bb9b2f5c8a9
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 13 Jun 2022 09:51:18 +0200
fix #7256
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/json/json_helper.c b/src/json/json_helper.c
@@ -106,6 +106,11 @@ parse_amount (void *cls,
r_amount->currency)) )
{
GNUNET_break_op (0);
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "Expected currency `%s', but amount used currency `%s' in field `%s'\n",
+ currency,
+ r_amount->currency,
+ spec->field);
return GNUNET_SYSERR;
}
return GNUNET_OK;