From 6fc2a5f9493e614a458cfc57ad42c782d06ba07a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 18 Jan 2020 20:50:25 +0100 Subject: fixes --- src/bank-lib/fakebank.c | 2 +- src/bank-lib/taler-bank-transfer.c | 15 +++++---------- 2 files changed, 6 insertions(+), 11 deletions(-) (limited to 'src/bank-lib') diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c index ddf0633fd..0de31fc7e 100644 --- a/src/bank-lib/fakebank.c +++ b/src/bank-lib/fakebank.c @@ -933,7 +933,7 @@ handle_debit_history (struct TALER_FAKEBANK_Handle *h, if (0 > ha.delta) pos = pos->prev; else - pos = pos->prev; + pos = pos->tail; } else { diff --git a/src/bank-lib/taler-bank-transfer.c b/src/bank-lib/taler-bank-transfer.c index 692705e32..9cfe2a4ae 100644 --- a/src/bank-lib/taler-bank-transfer.c +++ b/src/bank-lib/taler-bank-transfer.c @@ -1,6 +1,6 @@ /* This file is part of TALER - Copyright (C) 2017 GNUnet e.V. + Copyright (C) 2017-2020 Taler Systems SA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -24,11 +24,6 @@ #include #include "taler_bank_service.h" -/** - * Account base URL. - */ -static char *account_base_url; - /** * Amount to transfer. */ @@ -203,7 +198,7 @@ run (void *cls, /** - * The main function of the reservemod tool + * The main function of the taler-bank-transfer tool * * @param argc number of arguments from the command line * @param argv command line arguments @@ -223,8 +218,8 @@ main (int argc, char *const *argv) (GNUNET_GETOPT_option_string ('b', "bank", "URL", - "base URL of the account at the bank", - &account_base_url)), + "Wire gateway URL to use to talk to the bank", + &auth.wire_gateway_url)), GNUNET_GETOPT_option_help ("Deposit funds into a Taler reserve"), GNUNET_GETOPT_option_mandatory (GNUNET_GETOPT_option_string ('C', @@ -261,7 +256,7 @@ main (int argc, char *const *argv) if (GNUNET_OK != GNUNET_PROGRAM_run (argc, argv, "taler-bank-transfer", - "Execute bank transfer", + "Execute bank transfer to the exchange", options, &run, NULL)) return 1; -- cgit v1.2.3