aboutsummaryrefslogtreecommitdiff
path: root/src/json
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-06-13 09:51:18 +0200
committerChristian Grothoff <christian@grothoff.org>2022-06-13 09:51:18 +0200
commit3c4d6f1ba2f0e608605c6dffa6b381675c333245 (patch)
tree3b3cf6bba9bfb67e35731491db02c6a58a373965 /src/json
parent007cc7abe8aa4430e78ee833ba874bb9b2f5c8a9 (diff)
fix #7256
Diffstat (limited to 'src/json')
-rw-r--r--src/json/json_helper.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c
index 2e5241b5a..11aeceefb 100644
--- 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;