aboutsummaryrefslogtreecommitdiff
path: root/src/lib/testing_api_cmd_bank_check.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-15 13:22:28 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-15 13:22:37 +0100
commit8a3f0e3f8d998d1badc9767fb207e7a07d645150 (patch)
tree5218909386830dcd800d277cf9243be455571376 /src/lib/testing_api_cmd_bank_check.c
parente77ccd03906bd2db068136bb383976f714b3289e (diff)
downloadexchange-8a3f0e3f8d998d1badc9767fb207e7a07d645150.tar.xz
clean up payto credit/debit distincition
Diffstat (limited to 'src/lib/testing_api_cmd_bank_check.c')
-rw-r--r--src/lib/testing_api_cmd_bank_check.c21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/lib/testing_api_cmd_bank_check.c b/src/lib/testing_api_cmd_bank_check.c
index e443833a4..6a14e6b0f 100644
--- a/src/lib/testing_api_cmd_bank_check.c
+++ b/src/lib/testing_api_cmd_bank_check.c
@@ -135,17 +135,20 @@ check_bank_transfer_run (void *cls,
&amount_ptr));
amount = *amount_ptr;
- GNUNET_assert
- (GNUNET_OK == TALER_TESTING_GET_TRAIT_DEBIT_ACCOUNT
- (deposit_cmd, &debit_account));
+ GNUNET_assert (GNUNET_OK ==
+ TALER_TESTING_get_trait_payto (deposit_cmd,
+ TALER_TESTING_PT_DEBIT,
+ &debit_account));
- GNUNET_assert
- (GNUNET_OK == TALER_TESTING_GET_TRAIT_CREDIT_ACCOUNT
- (deposit_cmd, &credit_account));
+ GNUNET_assert (GNUNET_OK ==
+ TALER_TESTING_get_trait_payto (deposit_cmd,
+ TALER_TESTING_PT_CREDIT,
+ &credit_account));
- GNUNET_assert
- (GNUNET_OK == TALER_TESTING_get_trait_url
- (deposit_cmd, 0, &exchange_base_url)); // check 0 works!
+ GNUNET_assert (GNUNET_OK ==
+ TALER_TESTING_get_trait_url (deposit_cmd,
+ 0, /* TODO: check 0 works! */
+ &exchange_base_url));
}
if (GNUNET_OK !=