commit 806ec0fa26db9d8cce6342210bdf875715df42c6
parent f66c0f3ac6b6bae641909fcec6a104e738651bc1
Author: Florian Dold <florian.dold@gmail.com>
Date: Wed, 8 May 2019 06:05:15 +0200
remove instance from order after looking up merchant info
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git 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",