aboutsummaryrefslogtreecommitdiff
path: root/src/wire/plugin_wire_test.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-01 17:32:10 +0200
committerChristian Grothoff <christian@grothoff.org>2016-04-01 17:32:10 +0200
commit9bc96506bb6441467c6558f5252e803c4292c9fe (patch)
tree12aa2af54ced1d289bbb5af2aecce17893c6fb75 /src/wire/plugin_wire_test.c
parent76c8ab07e120210f248ce141aa9013de305aa5cf (diff)
update man pages and templates to use current options
Diffstat (limited to 'src/wire/plugin_wire_test.c')
-rw-r--r--src/wire/plugin_wire_test.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/wire/plugin_wire_test.c b/src/wire/plugin_wire_test.c
index a03f8127d..888501afb 100644
--- a/src/wire/plugin_wire_test.c
+++ b/src/wire/plugin_wire_test.c
@@ -44,9 +44,10 @@ struct TestClosure
char *currency;
/**
- * Number of the account that the exchange has at the bank.
+ * Number of the account that the exchange has at the bank for outgoing
+ * transfers.
*/
- unsigned long long exchange_account_no;
+ unsigned long long exchange_account_outgoing_no;
/**
* Handle to the bank task, or NULL.
@@ -576,7 +577,7 @@ test_execute_wire_transfer (void *cls,
eh->aaih = TALER_BANK_admin_add_incoming (tc->bank,
&bf.wtid,
&amount,
- (uint64_t) tc->exchange_account_no,
+ (uint64_t) tc->exchange_account_outgoing_no,
(uint64_t) account_no,
&execute_cb,
eh);
@@ -632,25 +633,25 @@ libtaler_plugin_wire_test_init (void *cls)
{
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_string (cfg,
- "wire-test",
+ "wire-outgoing-test",
"BANK_URI",
&uri))
{
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
- "wire-test",
+ "wire-outgoing-test",
"BANK_URI");
GNUNET_free (tc);
return NULL;
}
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_number (cfg,
- "wire-test",
- "BANK_ACCOUNT_NO_OUTGOING",
- &tc->exchange_account_no))
+ "wire-outgoing-test",
+ "BANK_ACCOUNT_NUMBER",
+ &tc->exchange_account_outgoing_no))
{
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
- "wire-test",
- "BANK_ACCOUNT_NO_OUTGOING");
+ "wire-incoming-test",
+ "BANK_ACCOUNT_NUMBER");
GNUNET_free (uri);
GNUNET_free (tc);
return NULL;