aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2017-07-04 19:45:06 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2017-07-04 19:45:12 +0200
commitf9b77d3da7a021fdb5086b42ddcd2946478eb654 (patch)
treefd0758c5f116c04f280968f072c08a067646f6ab /src/lib
parent333ba7c144a3037240df56e7fbfc2ad5423bd4ec (diff)
comment
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/test_merchant_api.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c
index b52349db..dfac9dd6 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");