diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-18 20:50:25 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-18 20:50:25 +0100 |
commit | 6fc2a5f9493e614a458cfc57ad42c782d06ba07a (patch) | |
tree | 14dcd68aa3bbf9f226d7b1e121c04d2019cd8675 /src/bank-lib | |
parent | c1996b7e69d7cb51adbd687b3a1cffdc02e28d3c (diff) | |
download | exchange-6fc2a5f9493e614a458cfc57ad42c782d06ba07a.tar.xz |
fixes
Diffstat (limited to 'src/bank-lib')
-rw-r--r-- | src/bank-lib/fakebank.c | 2 | ||||
-rw-r--r-- | src/bank-lib/taler-bank-transfer.c | 15 |
2 files changed, 6 insertions, 11 deletions
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 @@ -25,11 +25,6 @@ #include "taler_bank_service.h" /** - * Account base URL. - */ -static char *account_base_url; - -/** * Amount to transfer. */ static struct TALER_Amount amount; @@ -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; |