diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_proposal.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_proposal.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_proposal.c b/src/backend/taler-merchant-httpd_proposal.c index 53bf8341..be4359b6 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", |