summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Zwahlen <cedric.zwahlen@students.bfh.ch>2024-03-18 19:29:20 +0100
committerCedric Zwahlen <cedric.zwahlen@students.bfh.ch>2024-04-19 20:47:27 +0200
commit3c12d24deb46c32b6cc03efd077e00da9b9982e2 (patch)
tree3a80f1694cc42d4b23f65a90e5bf80ddb691c695
parent7b839b4f602cc03f2d114a4a1d86fa3170eadd1c (diff)
downloadexchange-3c12d24deb46c32b6cc03efd077e00da9b9982e2.tar.gz
exchange-3c12d24deb46c32b6cc03efd077e00da9b9982e2.tar.bz2
exchange-3c12d24deb46c32b6cc03efd077e00da9b9982e2.zip
Fix delete dc
-rw-r--r--src/auditor/taler-auditor-httpd_deposit-confirmation-get.c44
-rw-r--r--src/auditordb/pg_delete_deposit_confirmations.c2
2 files changed, 1 insertions, 45 deletions
diff --git a/src/auditor/taler-auditor-httpd_deposit-confirmation-get.c b/src/auditor/taler-auditor-httpd_deposit-confirmation-get.c
index c51638b74..18839b4b2 100644
--- a/src/auditor/taler-auditor-httpd_deposit-confirmation-get.c
+++ b/src/auditor/taler-auditor-httpd_deposit-confirmation-get.c
@@ -32,50 +32,6 @@
#include "taler-auditor-httpd.h"
#include "taler-auditor-httpd_deposit-confirmation-get.h"
-GNUNET_NETWORK_STRUCT_BEGIN
-
-/**
- * @brief Information about a signing key of the exchange. Signing keys are used
- * to sign exchange messages other than coins, i.e. to confirm that a
- * deposit was successful or that a refresh was accepted.
- */
-struct ExchangeSigningKeyDataP
-{
-
- /**
- * When does this signing key begin to be valid?
- */
- struct GNUNET_TIME_TimestampNBO start;
-
- /**
- * When does this signing key expire? Note: This is currently when
- * the Exchange will definitively stop using it. Signatures made with
- * the key remain valid until @e end. When checking validity periods,
- * clients should allow for some overlap between keys and tolerate
- * the use of either key during the overlap time (due to the
- * possibility of clock skew).
- */
- struct GNUNET_TIME_TimestampNBO expire;
-
- /**
- * When do signatures with this signing key become invalid? After
- * this point, these signatures cannot be used in (legal) disputes
- * anymore, as the Exchange is then allowed to destroy its side of the
- * evidence. @e end is expected to be significantly larger than @e
- * expire (by a year or more).
- */
- struct GNUNET_TIME_TimestampNBO end;
-
- /**
- * The public online signing key that the exchange will use
- * between @e start and @e expire.
- */
- struct TALER_ExchangePublicKeyP signkey_pub;
-};
-
-GNUNET_NETWORK_STRUCT_END
-
-
/**
* Add deposit confirmation to the list.
*
diff --git a/src/auditordb/pg_delete_deposit_confirmations.c b/src/auditordb/pg_delete_deposit_confirmations.c
index 6cb76d4e9..b337239c8 100644
--- a/src/auditordb/pg_delete_deposit_confirmations.c
+++ b/src/auditordb/pg_delete_deposit_confirmations.c
@@ -39,7 +39,7 @@ TAH_PG_delete_deposit_confirmation (
PREPARE (pg,
"auditor_delete_deposit_confirmation",
"DELETE"
- " FROM deposit_confirmations"
+ " FROM auditor_deposit_confirmations"
" WHERE deposit_confirmation_serial_id=$1;");
return GNUNET_PQ_eval_prepared_non_select (pg->conn,
"auditor_delete_deposit_confirmation",