summaryrefslogtreecommitdiff
path: root/src/testing/testing_cmd_truth_upload.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-17 22:02:08 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-17 22:02:08 +0100
commit3ccacbd78bf720294363648a496b635abe072408 (patch)
treed03414707aebbaaffa7add6a7ca0ea02be1b6ca7 /src/testing/testing_cmd_truth_upload.c
parent36e8be14334cd619d2847e3e8c1ecc136f402d71 (diff)
downloadanastasis-3ccacbd78bf720294363648a496b635abe072408.tar.gz
anastasis-3ccacbd78bf720294363648a496b635abe072408.tar.bz2
anastasis-3ccacbd78bf720294363648a496b635abe072408.zip
make anastasis build against latest Exchange
Diffstat (limited to 'src/testing/testing_cmd_truth_upload.c')
-rw-r--r--src/testing/testing_cmd_truth_upload.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/testing/testing_cmd_truth_upload.c b/src/testing/testing_cmd_truth_upload.c
index 030549d..99c2879 100644
--- a/src/testing/testing_cmd_truth_upload.c
+++ b/src/testing/testing_cmd_truth_upload.c
@@ -198,7 +198,6 @@ truth_upload_run (void *cls,
}
if (GNUNET_OK !=
ANASTASIS_TESTING_get_trait_salt (ref,
- 0,
&salt))
{
GNUNET_break (0);
@@ -285,10 +284,9 @@ truth_upload_traits (void *cls,
{
struct TruthUploadState *tus = cls;
struct TALER_TESTING_Trait traits[] = {
- ANASTASIS_TESTING_make_trait_truth (0,
- tus->truth),
- ANASTASIS_TESTING_make_trait_payment_secret (0,
- &tus->payment_secret_response),
+ ANASTASIS_TESTING_make_trait_truth (
+ (const struct ANASTASIS_Truth **) &tus->truth),
+ ANASTASIS_TESTING_make_trait_payment_secret (&tus->payment_secret_response),
TALER_TESTING_trait_end ()
};