diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-orders.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-orders.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c index 08522f28..ca35774d 100644 --- a/src/backend/taler-merchant-httpd_private-post-orders.c +++ b/src/backend/taler-merchant-httpd_private-post-orders.c @@ -1810,6 +1810,13 @@ parse_order (struct OrderContext *oc) oc->parse_order.merchant_pub = oc->hc->instance->merchant_pub; /* TODO: Not sure yet how to properly handle this in the refactored code */ + /* CG: Maybe the best answer is to do nothing here, and instead change + the TALER_JSON_contract_seed_forgettable() to take two arguments: + the (original) oc->order *and* the final (assembled) order. Then + do the (recursive) traversal over both objects and modify the + assembled order based on the fields in the (read-only) original + oc->order. Anyway, let me sleep over it, maybe I'll hack it up + tomorrow ;-). */ // if (GNUNET_OK != // TALER_JSON_contract_seed_forgettable (oc->order)) // { |