diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-11 23:06:10 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-12 00:39:27 +0100 |
commit | cbcc3727de347a2426ad6616ef577f0138b7d7e9 (patch) | |
tree | 988891ea0bd8e6a69030f0275fc1449e591cf33d /src/bank-lib/testing_api_cmd_history_credit.c | |
parent | 9443c10d7feb0d91323869dd08ec61ca781564f4 (diff) |
add separate transfer and admin/add/incoming commands
Diffstat (limited to 'src/bank-lib/testing_api_cmd_history_credit.c')
-rw-r--r-- | src/bank-lib/testing_api_cmd_history_credit.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/bank-lib/testing_api_cmd_history_credit.c b/src/bank-lib/testing_api_cmd_history_credit.c index 5c2b34d0..fefb2dda 100644 --- a/src/bank-lib/testing_api_cmd_history_credit.c +++ b/src/bank-lib/testing_api_cmd_history_credit.c @@ -60,6 +60,11 @@ struct HistoryState struct TALER_BANK_CreditHistoryHandle *hh; /** + * Authentication data for the operation. + */ + struct TALER_BANK_AuthenticationData auth; + + /** * Expected number of results (= rows). */ uint64_t results_obtained; @@ -683,7 +688,7 @@ history_run (void *cls, hs->hh = TALER_BANK_credit_history (is->ctx, hs->account_url, - NULL, + &hs->auth, row_id, hs->num_results, &history_cb, @@ -731,6 +736,8 @@ history_cleanup (void *cls, struct TALER_TESTING_Command TALER_TESTING_cmd_bank_credits (const char *label, const char *account_url, + const struct + TALER_BANK_AuthenticationData *auth, const char *start_row_reference, long long num_results) { @@ -740,7 +747,7 @@ TALER_TESTING_cmd_bank_credits (const char *label, hs->account_url = GNUNET_strdup (account_url); hs->start_row_reference = start_row_reference; hs->num_results = num_results; - + hs->auth = *auth; { struct TALER_TESTING_Command cmd = { .label = label, |