aboutsummaryrefslogtreecommitdiff
path: root/src/util/amount.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-10-08 20:58:06 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-10-08 20:58:06 +0200
commitb57b15a5eefea6f35724e95a351367b5f3e1bd0f (patch)
tree2626a6f1566981fa7e8c6c56e9bc7bc72bf4583d /src/util/amount.c
parentda30a706a864661d85f40d4a5b03f6a9e9e0aa7b (diff)
downloadexchange-b57b15a5eefea6f35724e95a351367b5f3e1bd0f.tar.xz
more work on DD51
Diffstat (limited to 'src/util/amount.c')
-rw-r--r--src/util/amount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/amount.c b/src/util/amount.c
index 9cd0739c9..97a1cf46a 100644
--- a/src/util/amount.c
+++ b/src/util/amount.c
@@ -225,6 +225,7 @@ TALER_amount_set_zero (const char *cur,
sizeof (struct TALER_Amount));
for (unsigned int i = 0; i<slen; i++)
amount->currency[i] = toupper (cur[i]);
+ /* FIXME: check currency consists only of legal characters! */
return GNUNET_OK;
}