diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-15 13:22:28 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-15 13:22:37 +0100 |
commit | 8a3f0e3f8d998d1badc9767fb207e7a07d645150 (patch) | |
tree | 5218909386830dcd800d277cf9243be455571376 /src/lib/testing_api_cmd_bank_admin_add_incoming.c | |
parent | e77ccd03906bd2db068136bb383976f714b3289e (diff) | |
download | exchange-8a3f0e3f8d998d1badc9767fb207e7a07d645150.tar.xz |
clean up payto credit/debit distincition
Diffstat (limited to 'src/lib/testing_api_cmd_bank_admin_add_incoming.c')
-rw-r--r-- | src/lib/testing_api_cmd_bank_admin_add_incoming.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/testing_api_cmd_bank_admin_add_incoming.c b/src/lib/testing_api_cmd_bank_admin_add_incoming.c index d2f6cd2c6..e490fce25 100644 --- a/src/lib/testing_api_cmd_bank_admin_add_incoming.c +++ b/src/lib/testing_api_cmd_bank_admin_add_incoming.c @@ -398,9 +398,11 @@ admin_add_incoming_traits (void *cls, { struct AdminAddIncomingState *fts = cls; struct TALER_TESTING_Trait traits[] = { - TALER_TESTING_make_trait_payto (1, fts->payto_debit_account), TALER_TESTING_MAKE_TRAIT_ROW_ID (&fts->serial_id), - TALER_TESTING_MAKE_TRAIT_CREDIT_ACCOUNT (fts->exchange_credit_url), + TALER_TESTING_make_trait_payto (TALER_TESTING_PT_DEBIT, + fts->payto_debit_account), + TALER_TESTING_make_trait_payto (TALER_TESTING_PT_CREDIT, + fts->exchange_credit_url), TALER_TESTING_make_trait_amount_obj (0, &fts->amount), TALER_TESTING_make_trait_absolute_time (0, &fts->timestamp), TALER_TESTING_make_trait_reserve_priv (0, |