[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 02/03: mark out #8002
From: |
gnunet |
Subject: |
[taler-exchange] 02/03: mark out #8002 |
Date: |
Sat, 09 Dec 2023 13:57:46 +0100 |
This is an automated email from the git hooks/post-receive script.
oec pushed a commit to branch master
in repository exchange.
commit cfb64f939df1a3ee24d03fe9d7fcc60d9772ed42
Author: Özgür Kesim <oec-taler@kesim.org>
AuthorDate: Sat Dec 9 13:57:23 2023 +0100
mark out #8002
---
src/exchangedb/exchange_do_deposit.sql | 1 +
src/exchangedb/pg_do_deposit.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/exchangedb/exchange_do_deposit.sql
b/src/exchangedb/exchange_do_deposit.sql
index 1156c7de..7116117f 100644
--- a/src/exchangedb/exchange_do_deposit.sql
+++ b/src/exchangedb/exchange_do_deposit.sql
@@ -142,6 +142,7 @@ THEN
IF NOT FOUND
THEN
-- Deposit exists, but with *strange* differences. Not allowed.
+ -- FIXME #8002: Surely we need to provide the client more data in this
case.
out_conflict=TRUE;
RETURN;
END IF;
diff --git a/src/exchangedb/pg_do_deposit.c b/src/exchangedb/pg_do_deposit.c
index 0ba45b62..64e7886a 100644
--- a/src/exchangedb/pg_do_deposit.c
+++ b/src/exchangedb/pg_do_deposit.c
@@ -83,6 +83,7 @@ TEH_PG_do_deposit (
GNUNET_PQ_result_spec_uint32 ("insufficient_balance_coin_index",
bad_balance_index),
balance_ok),
+ /* FIXME #8002: We need more data to communicate the conflict to the
client */
GNUNET_PQ_result_spec_bool ("conflicted",
ctr_conflict),
GNUNET_PQ_result_spec_end
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.