diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-05-19 02:23:57 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-05-19 02:23:57 +0200 |
commit | 5f993f573dcac74f6353ae662bbfb6405903390d (patch) | |
tree | 677ffe3e4b431895bc09fba15d20417422795fb2 | |
parent | cc8eecca91678258b68264ef85c240fe35bc8b40 (diff) | |
download | exchange-5f993f573dcac74f6353ae662bbfb6405903390d.tar.xz |
fix auditor drop
-rw-r--r-- | src/auditordb/drop0001.sql | 4 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd_keystate.c | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/auditordb/drop0001.sql b/src/auditordb/drop0001.sql index 80f953e32..8e42c8094 100644 --- a/src/auditordb/drop0001.sql +++ b/src/auditordb/drop0001.sql @@ -43,8 +43,8 @@ DROP TABLE IF EXISTS auditor_denominations CASCADE; DROP TABLE IF EXISTS deposit_confirmations CASCADE; DROP TABLE IF EXISTS auditor_exchanges CASCADE; --- Drop versioning (0000.sql) -DROP SCHEMA IF EXISTS _v CASCADE; +-- Drop versioning (auditor-0001.sql) +SELECT _v.unregister_patch('auditor-0001'); -- And we're out of here... COMMIT; diff --git a/src/exchange/taler-exchange-httpd_keystate.c b/src/exchange/taler-exchange-httpd_keystate.c index c14b85d9b..fbb5da356 100644 --- a/src/exchange/taler-exchange-httpd_keystate.c +++ b/src/exchange/taler-exchange-httpd_keystate.c @@ -801,7 +801,7 @@ reload_keys_denom_iter (void *cls, handle_signal (SIGTERM); return GNUNET_SYSERR; } - + GNUNET_assert (NULL != dki->denom_priv.rsa_private_key); GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Adding denomination key `%s' (%s) to active set\n", alias, @@ -1660,6 +1660,9 @@ reload_public_denoms_cb ( GNUNET_h2s (&issue->properties.denom_hash)); return; } + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Loaded denomination key %s from DB, no private key (hopefully revoked!)\n", + GNUNET_h2s (&issue->properties.denom_hash)); /* we can assert here as we checked for duplicates just above */ GNUNET_assert (GNUNET_OK == ret); } |