aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_do_withdraw.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-10-15 23:30:51 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-10-15 23:30:51 +0200
commit917dd4d70ff2f38d475146b387e649a669996f10 (patch)
tree2550f23c5d9418bdaae7c5b7b328d9e5c60e226b /src/exchangedb/pg_do_withdraw.c
parentc72cf2ce10017dccc342c4ea86ac2b006aa54149 (diff)
downloadexchange-917dd4d70ff2f38d475146b387e649a669996f10.tar.xz
avoid extra transaction to fetch balance if reserve is out of funds, remove legacy /withdraw endpoint
Diffstat (limited to 'src/exchangedb/pg_do_withdraw.c')
-rw-r--r--src/exchangedb/pg_do_withdraw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchangedb/pg_do_withdraw.c b/src/exchangedb/pg_do_withdraw.c
index e32afcda1..cb511b108 100644
--- a/src/exchangedb/pg_do_withdraw.c
+++ b/src/exchangedb/pg_do_withdraw.c
@@ -26,6 +26,8 @@
#include "pg_helper.h"
+// FIXME: this function is currently only used in tests.
+// Replace by batch withdraw function in tests as well!
enum GNUNET_DB_QueryStatus
TEH_PG_do_withdraw (
void *cls,