diff --git a/src/exchange-lib/testing_api_cmd_bank_check.c b/src/exchange-lib/testing_api_cmd_bank_check.c index 2b471eed7..6d1d3c143 100644 --- a/src/exchange-lib/testing_api_cmd_bank_check.c +++ b/src/exchange-lib/testing_api_cmd_bank_check.c @@ -210,7 +210,8 @@ check_bank_transfer_traits (void *cls, &bcs->wtid, sizeof (struct TALER_WireTransferIdentifierRawP))) wtid_ptr = NULL; - wtid_ptr = &bcs->wtid; + else + wtid_ptr = &bcs->wtid; struct TALER_TESTING_Trait traits[] = { TALER_TESTING_make_trait_transfer_subject (0, bcs->subject),