diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-06-13 09:51:18 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-06-13 09:51:18 +0200 |
commit | 3c4d6f1ba2f0e608605c6dffa6b381675c333245 (patch) | |
tree | 3b3cf6bba9bfb67e35731491db02c6a58a373965 | |
parent | 007cc7abe8aa4430e78ee833ba874bb9b2f5c8a9 (diff) | |
download | exchange-3c4d6f1ba2f0e608605c6dffa6b381675c333245.tar.xz |
fix #7256
-rw-r--r-- | src/json/json_helper.c | 5 |
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; |