merchant

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

commit d40fd6cb45cffd37e336d23af10afed5b984b8b6
parent 80ae19f244b943acc6538227b429b30a87f225e4
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Wed, 12 Jul 2017 14:51:38 +0200

remove comments

Diffstat:
Msrc/lib/test_merchant_api.c | 17+----------------
1 file changed, 1 insertion(+), 16 deletions(-)

diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c @@ -1312,15 +1312,7 @@ refund_lookup_cb (void *cls, GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)); }; - /** - * - * do the job: - * - * 1) check if used coin exists in from-refund ones - * 2) if so, sum up refunded amount - * - */ - + /* Retrieve coins used to pay, from OC_PAY command */ GNUNET_assert (NULL != (pay = find_command (is, cmd->details.refund_lookup.pay_ref))); icoin_refs = GNUNET_strdup (pay->details.pay.coin_ref); @@ -1329,13 +1321,6 @@ refund_lookup_cb (void *cls, TALER_amount_get_zero ("EUR", &acc); do { - /** - * 1 Get coin pub, V - * 2 hash it, V - * 3 look in the map, V - * 4 if found, sum up, V - * 5 iterate, V - */ GNUNET_assert (NULL != (icoin = find_command (is, icoin_ref))); GNUNET_CRYPTO_eddsa_key_get_public (&icoin->details.reserve_withdraw.coin_priv.eddsa_priv, &icoin_pub.eddsa_pub);