Fix passing of delta.
This commit is contained in:
parent
8315e15123
commit
f22ef3e40c
@ -208,6 +208,14 @@ execute_wire_transfer ()
|
|||||||
struct TALER_Amount a;
|
struct TALER_Amount a;
|
||||||
struct TALER_WireTransferIdentifierRawP wtid;
|
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,
|
if (GNUNET_OK != TALER_string_to_amount (amount,
|
||||||
&a))
|
&a))
|
||||||
{
|
{
|
||||||
@ -269,7 +277,7 @@ execute_history ()
|
|||||||
TALER_BANK_DIRECTION_BOTH,
|
TALER_BANK_DIRECTION_BOTH,
|
||||||
since_when_bin,
|
since_when_bin,
|
||||||
bin_len,
|
bin_len,
|
||||||
10,
|
-10,
|
||||||
history_cb,
|
history_cb,
|
||||||
NULL))
|
NULL))
|
||||||
{
|
{
|
||||||
@ -310,7 +318,7 @@ run (void *cls,
|
|||||||
if (NULL == account_section)
|
if (NULL == account_section)
|
||||||
{
|
{
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"The ACCOUNT-SECTION is mandatory.\n");
|
"The option: -s ACCOUNT-SECTION, is mandatory.\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user