gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-merchant] branch master updated: comment


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: comment
Date: Tue, 04 Jul 2017 19:45:11 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new f9b77d3  comment
f9b77d3 is described below

commit f9b77d3da7a021fdb5086b42ddcd2946478eb654
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Jul 4 19:45:06 2017 +0200

    comment
---
 src/lib/test_merchant_api.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c
index b52349d..dfac9dd 100644
--- a/src/lib/test_merchant_api.c
+++ b/src/lib/test_merchant_api.c
@@ -1298,12 +1298,6 @@ refund_lookup_cb (void *cls,
   GNUNET_CRYPTO_eddsa_key_get_public 
(&coin_ref->details.reserve_withdraw.coin_priv.eddsa_priv,
                                       &coin_pub.eddsa_pub);
 
-  /**
-   * NOTE: cannot reconstruct and match (with json_equal()) a mocked
-   * JSON against the response because the testcase has no hold of
-   * merchant priv, which is needed to mock the signature and get the pub.
-   */
-
   GNUNET_assert (NULL != (resp_element = json_array_get (obj, 0)));
   
   GNUNET_assert (GNUNET_OK == GNUNET_JSON_parse (resp_element,
@@ -1325,6 +1319,7 @@ refund_lookup_cb (void *cls,
       0 != memcmp (&merchant_pub,
                    &resp_merchant_pub,
                    sizeof (struct GNUNET_CRYPTO_EddsaPublicKey)))
+  /*FIXME: match doable with json_equal() now!*/
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 
                 "Bad refund given\n");

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]