[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] 08/09: previous change continued.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] 08/09: previous change continued. |
Date: |
Thu, 10 May 2018 22:18:52 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant.
commit f30f7114e089d53a5e1391ffe41acf121ca0d5cd
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu May 10 22:10:38 2018 +0200
previous change continued.
Providing exchange url as trait as well.
---
src/lib/testing_api_cmd_track.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/lib/testing_api_cmd_track.c b/src/lib/testing_api_cmd_track.c
index b56ddc3..0fce026 100644
--- a/src/lib/testing_api_cmd_track.c
+++ b/src/lib/testing_api_cmd_track.c
@@ -52,6 +52,8 @@ struct TrackTransactionState
* make the paygen work. */
struct TALER_WireTransferIdentifierRawP wtid;
+ const char *exchange_url;
+
};
struct TrackTransferState
@@ -101,6 +103,8 @@ track_transaction_cb (void *cls,
GNUNET_JSON_spec_fixed_auto ("wtid",
&tts->wtid),
+ GNUNET_JSON_spec_string ("exchange",
+ &tts->exchange_url),
GNUNET_JSON_spec_end ()
};
@@ -325,6 +329,7 @@ track_transaction_cleanup (void *cls,
" did not complete\n");
TALER_MERCHANT_track_transaction_cancel (tts->tth);
}
+ /* WARNING: who frees tts->exchange_url ? */
GNUNET_free (tts);
}
@@ -339,6 +344,7 @@ track_transaction_traits (void *cls,
struct TALER_TESTING_Trait traits[] = {
TALER_TESTING_make_trait_wtid (0, &tts->wtid),
+ TALER_TESTING_make_trait_url (0, tts->exchange_url),
TALER_TESTING_trait_end ()
};
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [taler-merchant] branch master updated (f0de247 -> 15ecd39), gnunet, 2018/05/10
- [GNUnet-SVN] [taler-merchant] 03/09: comments, gnunet, 2018/05/10
- [GNUnet-SVN] [taler-merchant] 06/09: Paygen /track preparation., gnunet, 2018/05/10
- [GNUnet-SVN] [taler-merchant] 04/09: no "check" CMDs in paygen., gnunet, 2018/05/10
- [GNUnet-SVN] [taler-merchant] 05/09: --with-pybank option removed., gnunet, 2018/05/10
- [GNUnet-SVN] [taler-merchant] 02/09: rewinding payments within the generator., gnunet, 2018/05/10
- [GNUnet-SVN] [taler-merchant] 08/09: previous change continued.,
gnunet <=
- [GNUnet-SVN] [taler-merchant] 01/09: copy-and-paste fault., gnunet, 2018/05/10
- [GNUnet-SVN] [taler-merchant] 07/09: /track/transaction CMD stores WTID as trait., gnunet, 2018/05/10
- [GNUnet-SVN] [taler-merchant] 09/09: paygen has reached its (likely) final form., gnunet, 2018/05/10