exchange

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

commit f22ef3e40c7a5e16477578031d674f60582e76d8
parent 8315e151232dc0bea548cb9466c474a78a7140aa
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Tue, 12 Feb 2019 18:34:44 +0100

Fix passing of delta.

Diffstat:
Msrc/exchange-tools/taler-wire.c | 12++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/exchange-tools/taler-wire.c b/src/exchange-tools/taler-wire.c @@ -208,6 +208,14 @@ execute_wire_transfer () struct TALER_Amount a; struct TALER_WireTransferIdentifierRawP wtid; + if (NULL == amount) + { + fprintf (stderr, + "The option -a: AMOUNT, is mandatory.\n"); + GNUNET_SCHEDULER_shutdown (); + return; + } + if (GNUNET_OK != TALER_string_to_amount (amount, &a)) { @@ -269,7 +277,7 @@ execute_history () TALER_BANK_DIRECTION_BOTH, since_when_bin, bin_len, - 10, + -10, history_cb, NULL)) { @@ -310,7 +318,7 @@ run (void *cls, if (NULL == account_section) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "The ACCOUNT-SECTION is mandatory.\n"); + "The option: -s ACCOUNT-SECTION, is mandatory.\n"); return; }