-more multi-account fixes

This commit is contained in:
Christian Grothoff 2023-07-21 15:28:45 +02:00
parent 7b258d4bdf
commit a7eae63d20
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
3 changed files with 9 additions and 6 deletions

View File

@ -1613,6 +1613,7 @@ process_debits (void *cls)
static void static void
begin_debit_audit (void) begin_debit_audit (void)
{ {
GNUNET_assert (NULL == out_map);
out_map = GNUNET_CONTAINER_multihashmap_create (1024, out_map = GNUNET_CONTAINER_multihashmap_create (1024,
GNUNET_YES); GNUNET_YES);
process_debits (wa_head); process_debits (wa_head);

View File

@ -988,8 +988,9 @@ run (void *cls,
cred.user42_payto, cred.user42_payto,
cred.exchange_payto, cred.exchange_payto,
"short-lived-reserve"), "short-lived-reserve"),
TALER_TESTING_cmd_exec_wirewatch ("short-lived-aggregation", TALER_TESTING_cmd_exec_wirewatch2 ("short-lived-aggregation",
config_file_expire_reserve_now), config_file_expire_reserve_now,
"exchange-account-2"),
TALER_TESTING_cmd_exec_closer ("close-reserves", TALER_TESTING_cmd_exec_closer ("close-reserves",
config_file_expire_reserve_now, config_file_expire_reserve_now,
"EUR:5", "EUR:5",
@ -1192,8 +1193,9 @@ run (void *cls,
= CMD_TRANSFER_TO_EXCHANGE ("reserve-open-close-key", = CMD_TRANSFER_TO_EXCHANGE ("reserve-open-close-key",
"EUR:20"); "EUR:20");
reserve_open_close[(i * RESERVE_OPEN_CLOSE_CHUNK) + 1] reserve_open_close[(i * RESERVE_OPEN_CLOSE_CHUNK) + 1]
= TALER_TESTING_cmd_exec_wirewatch ("reserve-open-close-wirewatch", = TALER_TESTING_cmd_exec_wirewatch2 ("reserve-open-close-wirewatch",
config_file_expire_reserve_now); config_file_expire_reserve_now,
"exchange-account-2");
reserve_open_close[(i * RESERVE_OPEN_CLOSE_CHUNK) + 2] reserve_open_close[(i * RESERVE_OPEN_CLOSE_CHUNK) + 2]
= TALER_TESTING_cmd_exec_closer ("reserve-open-close-aggregation", = TALER_TESTING_cmd_exec_closer ("reserve-open-close-aggregation",
config_file_expire_reserve_now, config_file_expire_reserve_now,

View File

@ -46,13 +46,13 @@ DURATION = "14 days"
[exchange-account-1] [exchange-account-1]
PAYTO_URI = "payto://x-taler-bank/localhost/42?receiver-name=42" PAYTO_URI = "payto://x-taler-bank/localhost/2?receiver-name=2"
ENABLE_DEBIT = YES ENABLE_DEBIT = YES
ENABLE_CREDIT = YES ENABLE_CREDIT = YES
[exchange-accountcredentials-1] [exchange-accountcredentials-1]
WIRE_GATEWAY_AUTH_METHOD = none WIRE_GATEWAY_AUTH_METHOD = none
WIRE_GATEWAY_URL = "http://localhost:8082/42/" WIRE_GATEWAY_URL = "http://localhost:8082/2/"
[exchange-account-2] [exchange-account-2]
PAYTO_URI = "payto://x-taler-bank/localhost/2?receiver-name=2" PAYTO_URI = "payto://x-taler-bank/localhost/2?receiver-name=2"