exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 3137d8dc13742055e0857b249037fe0430bf9578
parent 36b2cbb47e6cbb9b658abea34ea6cc37d90a1336
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat,  8 Apr 2023 08:10:56 +0200

adding FIXME

Diffstat:
Msrc/exchangedb/exchange_do_deposit.sql | 1+
Msrc/exchangedb/pg_do_deposit.c | 4++--
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/exchangedb/exchange_do_deposit.sql b/src/exchangedb/exchange_do_deposit.sql @@ -123,6 +123,7 @@ THEN -- Deposit exists, but with differences. Not allowed. out_balance_ok=FALSE; out_conflict=TRUE; + -- FIXME: out_exchange_timestamp not set on this path? RETURN; END IF; diff --git a/src/exchangedb/pg_do_deposit.c b/src/exchangedb/pg_do_deposit.c @@ -25,6 +25,8 @@ #include "pg_do_deposit.h" #include "pg_helper.h" #include "pg_compute_shard.h" + + enum GNUNET_DB_QueryStatus TEH_PG_do_deposit ( void *cls, @@ -69,8 +71,6 @@ TEH_PG_do_deposit ( GNUNET_PQ_result_spec_end }; - /* Used in #postgres_do_deposit() to execute a deposit, - checking the coin's balance in the process as needed. */ PREPARE (pg, "call_deposit", "SELECT "