gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-util] branch master updated: legacy EC still needed in mast


From: gnunet
Subject: [taler-taler-util] branch master updated: legacy EC still needed in master
Date: Mon, 04 May 2020 10:08:10 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository taler-util.

The following commit(s) were added to refs/heads/master by this push:
     new 44e3e87  legacy EC still needed in master
44e3e87 is described below

commit 44e3e877ed598d40551185a92d4db74d7ccea5db
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon May 4 10:08:08 2020 +0200

    legacy EC still needed in master
---
 taler/util/errorcodes.py | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/taler/util/errorcodes.py b/taler/util/errorcodes.py
index 790c6a7..b347eb4 100644
--- a/taler/util/errorcodes.py
+++ b/taler/util/errorcodes.py
@@ -1258,7 +1258,7 @@ ec._add_ec(
     """
     The currency specified for the refund is different from
     the currency of the coin.  This response is provided with HTTP
-    status code #MHD_HTTP_PRECONDITION_FAILED.
+    status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -2037,6 +2037,16 @@ ec._add_ec(
     """,
 )
 
+ec._add_ec(
+    "PAY_ABORT_REFUND_REFUSED_PAYMENT_COMPLETE",
+    2134,
+    """
+    Legacy stuff. Remove me with protocol v1.
+    This response is provided
+    with HTTP status code #MHD_HTTP_PREREQUISTE.
+    """,
+)
+
 ec._add_ec(
     "ABORT_EXCHANGE_KEYS_FAILURE",
     2150,
@@ -2114,7 +2124,7 @@ ec._add_ec(
     The payment was already completed and thus cannot be
     aborted anymore.
     This response is provided with HTTP status code of
-    #MHD_HTTP_FORBIDDEN.
+    #MHD_HTTP_PRECONDITION_FAILED.
     """,
 )
 
@@ -2124,7 +2134,7 @@ ec._add_ec(
     """
     The hash provided by the wallet does not match the order.
     This response is provided with HTTP status code of
-    #MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_FORBIDDEN.
     """,
 )
 

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



reply via email to

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