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: error message


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: error message
Date: Fri, 23 Jun 2017 00:54:12 +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 984e503  error message
984e503 is described below

commit 984e503b7af70ad6ff5c75025eadf045e0ebe155
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jun 23 00:54:04 2017 +0200

    error message
---
 src/backend/taler-merchant-httpd_refund.c | 5 +++--
 src/lib/merchant_api_pay.c                | 3 +++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_refund.c 
b/src/backend/taler-merchant-httpd_refund.c
index a753f07..d6a945d 100644
--- a/src/backend/taler-merchant-httpd_refund.c
+++ b/src/backend/taler-merchant-httpd_refund.c
@@ -246,8 +246,9 @@ MH_handler_refund_increase (struct TMH_RequestHandler *rh,
      */
     return TMH_RESPONSE_reply_external_error (connection,
                                               
TALER_EC_REFUND_INCONSISTENT_AMOUNT,
-                                              "Amount either lower than the 
previous"
-                                              " or too big to be paid back");
+                                              "Amount incorrect: either not 
bigger"
+                                              " than the previous one or too 
big to"
+                                              " be paid back");
   }
 
   if (GNUNET_SYSERR == res)
diff --git a/src/lib/merchant_api_pay.c b/src/lib/merchant_api_pay.c
index aa875bc..e5f7249 100644
--- a/src/lib/merchant_api_pay.c
+++ b/src/lib/merchant_api_pay.c
@@ -249,6 +249,9 @@ handle_pay_finished (void *cls,
 
 /**
  * Pay a merchant.  API for wallets that have the coin's private keys.
+ * _NOTE_: this function does NOT calculate each coin amount in order
+ * to match the contract total price.  This calculation is to be made
+ * by the logic using this library.
  *
  * @param ctx the execution loop context
  * @param merchant_uri base URI of the merchant's backend

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



reply via email to

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