exchange

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

commit aa68d1d04d004c16d1a4f54f46afe312c93ad550
parent d8c9f2a03782da04f5c8f5db9379979abf65b4cf
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 19 Aug 2021 16:30:32 +0200

-minor cleanup

Diffstat:
Msrc/exchange/taler-exchange-httpd.c | 2+-
Msrc/exchange/taler-exchange-httpd_keys.c | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c @@ -299,6 +299,7 @@ handle_mhd_completion_callback (void *cls, struct ExchangeHttpRequestClosure *ecls = *con_cls; struct GNUNET_AsyncScopeSave old_scope; + (void) cls; if (NULL == ecls) return; GNUNET_async_scope_enter (&ecls->async_scope_id, @@ -325,7 +326,6 @@ handle_mhd_completion_callback (void *cls, toe); #endif } - (void) cls; TALER_MHD_parse_post_cleanup_callback (ecls->opaque_post_parsing_context); /* Sanity-check that we didn't leave any transactions hanging */ diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c @@ -1,6 +1,6 @@ /* This file is part of TALER - Copyright (C) 2020 Taler Systems SA + Copyright (C) 2020, 2021 Taler Systems SA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software @@ -1715,6 +1715,7 @@ build_key_state (struct HelperState *hs, ksh->signkey_map = GNUNET_CONTAINER_multipeermap_create (32, GNUNET_NO /* MUST be NO! */); ksh->auditors = json_array (); + GNUNET_assert (NULL != ksh->auditors); /* NOTE: fetches master-signed signkeys, but ALSO those that were revoked! */ qs = TEH_plugin->iterate_denominations (TEH_plugin->cls, &denomination_info_cb,