summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-12 18:19:18 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-12 18:19:18 +0100
commit44460a3147fad51eb2ca57c60101e6d952521e86 (patch)
tree3172b40dfd1b4d27401fb93fa4a682291f13d080
parent6a4cc07978f8973d790d10f25b325569a555995c (diff)
downloadexchange-44460a3147fad51eb2ca57c60101e6d952521e86.tar.gz
exchange-44460a3147fad51eb2ca57c60101e6d952521e86.tar.bz2
exchange-44460a3147fad51eb2ca57c60101e6d952521e86.zip
getting legacy code to build
-rw-r--r--src/exchange/test_taler_exchange_aggregator.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/exchange/test_taler_exchange_aggregator.c b/src/exchange/test_taler_exchange_aggregator.c
index 9a187add5..a5f03e1d9 100644
--- a/src/exchange/test_taler_exchange_aggregator.c
+++ b/src/exchange/test_taler_exchange_aggregator.c
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- (C) 2016, 2017, 2018 Taler Systems SA
+ (C) 2016-2020 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
@@ -120,7 +120,7 @@ struct Command
/**
* Subject of the transfer, set by the command.
*/
- char *subject;
+ struct TALER_WireTransferIdentifierRawP wtid;
} expect_transaction;
@@ -590,13 +590,15 @@ interpreter (void *cls)
return;
}
if (GNUNET_OK !=
- TALER_FAKEBANK_check (fb,
- &want_amount,
- cmd->details.expect_transaction.debit_account,
- cmd->details.expect_transaction.credit_account,
- cmd->details.expect_transaction.
- exchange_base_url,
- &cmd->details.expect_transaction.subject))
+ TALER_FAKEBANK_check_debit (fb,
+ &want_amount,
+ cmd->details.expect_transaction.
+ debit_account,
+ cmd->details.expect_transaction.
+ credit_account,
+ cmd->details.expect_transaction.
+ exchange_base_url,
+ &cmd->details.expect_transaction.wtid))
{
fail (cmd);
return;