From 9443c10d7feb0d91323869dd08ec61ca781564f4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 11 Jan 2020 15:19:56 +0100 Subject: major refactoring, eliminating wire-plugins and moving towards new bank API. main code compiles, testcases known to fail, code sure not to fully work yet --- src/exchangedb/exchangedb_accounts.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/exchangedb/exchangedb_accounts.c') diff --git a/src/exchangedb/exchangedb_accounts.c b/src/exchangedb/exchangedb_accounts.c index e31509021..037793953 100644 --- a/src/exchangedb/exchangedb_accounts.c +++ b/src/exchangedb/exchangedb_accounts.c @@ -58,7 +58,7 @@ check_for_account (void *cls, const char *section) { struct FindAccountContext *ctx = cls; - char *plugin_name; + char *method; char *payto_url; char *wire_response_filename; struct TALER_EXCHANGEDB_AccountInfo ai; @@ -81,12 +81,12 @@ check_for_account (void *cls, if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (ctx->cfg, section, - "PLUGIN", - &plugin_name)) + "METHOD", + &method)) { GNUNET_log_config_missing (GNUNET_ERROR_TYPE_WARNING, section, - "PLUGIN"); + "METHOD"); GNUNET_free (payto_url); return; } @@ -97,7 +97,7 @@ check_for_account (void *cls, &wire_response_filename)) wire_response_filename = NULL; ai.section_name = section; - ai.plugin_name = plugin_name; + ai.method = method; ai.payto_url = payto_url; ai.wire_response_filename = wire_response_filename; @@ -112,7 +112,7 @@ check_for_account (void *cls, ctx->cb (ctx->cb_cls, &ai); GNUNET_free (payto_url); - GNUNET_free (plugin_name); + GNUNET_free (method); GNUNET_free_non_null (wire_response_filename); } -- cgit v1.2.3