diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-04-08 08:10:56 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-04-08 08:11:27 +0200 |
commit | 3137d8dc13742055e0857b249037fe0430bf9578 (patch) | |
tree | cad8c509322194f7b3f334095270aa629f2b8386 | |
parent | 36b2cbb47e6cbb9b658abea34ea6cc37d90a1336 (diff) | |
download | exchange-3137d8dc13742055e0857b249037fe0430bf9578.tar.xz |
adding FIXME
-rw-r--r-- | src/exchangedb/exchange_do_deposit.sql | 1 | ||||
-rw-r--r-- | src/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 index a2f5ba53a..53fcfb1bc 100644 --- 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 index 771c50af3..f3d0856ac 100644 --- 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 " |