Fix transactions list request.
This commit is contained in:
parent
82f01f111b
commit
8315e15123
@ -112,6 +112,15 @@ history_cb (void *cls,
|
|||||||
{
|
{
|
||||||
char *row_off_enc;
|
char *row_off_enc;
|
||||||
|
|
||||||
|
if (TALER_BANK_DIRECTION_NONE == dir)
|
||||||
|
{
|
||||||
|
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
||||||
|
"Hit end of transactions list.\n");
|
||||||
|
global_ret = 0;
|
||||||
|
GNUNET_SCHEDULER_shutdown ();
|
||||||
|
return GNUNET_NO;
|
||||||
|
}
|
||||||
|
|
||||||
row_off_enc = GNUNET_STRINGS_data_to_string_alloc (row_off,
|
row_off_enc = GNUNET_STRINGS_data_to_string_alloc (row_off,
|
||||||
row_off_size);
|
row_off_size);
|
||||||
/* Give more details on screen (??) */
|
/* Give more details on screen (??) */
|
||||||
@ -121,9 +130,6 @@ history_cb (void *cls,
|
|||||||
|
|
||||||
GNUNET_free (row_off_enc);
|
GNUNET_free (row_off_enc);
|
||||||
|
|
||||||
if (TALER_BANK_DIRECTION_NONE == dir)
|
|
||||||
global_ret = 0;
|
|
||||||
|
|
||||||
return GNUNET_OK;
|
return GNUNET_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1096,8 +1096,6 @@ taler_bank_get_history (void *cls,
|
|||||||
whh->hres_cb = hres_cb;
|
whh->hres_cb = hres_cb;
|
||||||
whh->hres_cb_cls = hres_cb_cls;
|
whh->hres_cb_cls = hres_cb_cls;
|
||||||
|
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
|
||||||
"Requesting the transaction history.\n");
|
|
||||||
whh->hh = TALER_BANK_history (tc->ctx,
|
whh->hh = TALER_BANK_history (tc->ctx,
|
||||||
account.bank_base_url,
|
account.bank_base_url,
|
||||||
&whh->auth,
|
&whh->auth,
|
||||||
|
Loading…
Reference in New Issue
Block a user