This commit is contained in:
Christian Grothoff 2022-06-13 09:51:18 +02:00
parent 007cc7abe8
commit 3c4d6f1ba2
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -106,6 +106,11 @@ parse_amount (void *cls,
r_amount->currency)) ) r_amount->currency)) )
{ {
GNUNET_break_op (0); 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_SYSERR;
} }
return GNUNET_OK; return GNUNET_OK;