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: remove comments


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: remove comments
Date: Wed, 12 Jul 2017 14:51:48 +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 d40fd6c  remove comments
d40fd6c is described below

commit d40fd6cb45cffd37e336d23af10afed5b984b8b6
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Jul 12 14:51:38 2017 +0200

    remove comments
---
 src/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
index 3add52b..dd48660 100644
--- 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);

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



reply via email to

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