diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-03 17:14:00 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-03 17:14:00 +0100 |
commit | a9b3c564bdd80ad6d3db0d0c493144956c64368d (patch) | |
tree | 0d6b2e480eb87802f26d2c323d07d8a89b8f7268 /src/testing | |
parent | 97fb6b0091ca089b997febf691be2038223a8d21 (diff) | |
download | exchange-a9b3c564bdd80ad6d3db0d0c493144956c64368d.tar.xz |
rename BANK_excecute_wire_transfer to BANK_transfer, improve error handling when curl_easy_init() fails
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/testing_api_cmd_bank_transfer.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/testing/testing_api_cmd_bank_transfer.c b/src/testing/testing_api_cmd_bank_transfer.c index 6aa926df8..f8dfc0b83 100644 --- a/src/testing/testing_api_cmd_bank_transfer.c +++ b/src/testing/testing_api_cmd_bank_transfer.c @@ -76,7 +76,7 @@ struct TransferState /** * Handle to the pending request at the fakebank. */ - struct TALER_BANK_WireExecuteHandle *weh; + struct TALER_BANK_TransferHandle *weh; /** * Interpreter state. @@ -233,15 +233,15 @@ transfer_run (void *cls, TALER_amount2s (&fts->amount), fts->account_debit_url, fts->payto_credit_account); - TALER_BANK_prepare_wire_transfer (fts->payto_credit_account, - &fts->amount, - fts->exchange_base_url, - &fts->wtid, - &buf, - &buf_size); + TALER_BANK_prepare_transfer (fts->payto_credit_account, + &fts->amount, + fts->exchange_base_url, + &fts->wtid, + &buf, + &buf_size); fts->is = is; fts->weh - = TALER_BANK_execute_wire_transfer + = TALER_BANK_transfer (TALER_TESTING_interpreter_get_context (is), &fts->auth, buf, @@ -276,7 +276,7 @@ transfer_cleanup (void *cls, GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Command %s did not complete\n", cmd->label); - TALER_BANK_execute_wire_transfer_cancel (fts->weh); + TALER_BANK_transfer_cancel (fts->weh); fts->weh = NULL; } if (NULL != fts->retry_task) |