gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] branch stable updated: remove instance fro


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch stable updated: remove instance from order after looking up merchant info
Date: Wed, 08 May 2019 06:05:21 +0200

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

dold pushed a commit to branch stable
in repository merchant.

The following commit(s) were added to refs/heads/stable by this push:
     new 806ec0f  remove instance from order after looking up merchant info
806ec0f is described below

commit 806ec0fa26db9d8cce6342210bdf875715df42c6
Author: Florian Dold <address@hidden>
AuthorDate: Wed May 8 06:05:15 2019 +0200

    remove instance from order after looking up merchant info
---
 src/backend/taler-merchant-httpd_proposal.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/backend/taler-merchant-httpd_proposal.c 
b/src/backend/taler-merchant-httpd_proposal.c
index 53bf834..be4359b 100644
--- a/src/backend/taler-merchant-httpd_proposal.c
+++ b/src/backend/taler-merchant-httpd_proposal.c
@@ -477,6 +477,11 @@ proposal_put (struct MHD_Connection *connection,
        "Inconsistent instance given");
   }
 
+  /* Setting the instance on the order directly is just a shortcut,
+     the wallet shouldn't see that. */
+  json_object_del (order, "instance");
+  instance = NULL;
+
   /* add fields to the contract that the backend should provide */
   json_object_set (order,
                    "exchanges",

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



reply via email to

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