merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit f9b77d3da7a021fdb5086b42ddcd2946478eb654
parent 333ba7c144a3037240df56e7fbfc2ad5423bd4ec
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Tue,  4 Jul 2017 19:45:06 +0200

comment

Diffstat:
Msrc/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 @@ -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");