diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2023-12-24 00:22:53 +0800 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2023-12-24 00:22:53 +0800 |
commit | 63f28f5c678c01cc40d296c13354d5f1079af672 (patch) | |
tree | ab6218974ddcfde74c85df1ed8274ea17c5897bf /src/backend/taler-merchant-httpd_private-post-orders.c | |
parent | 59e91babec86664a606a9d81f436118294ee0ca9 (diff) | |
download | merchant-63f28f5c678c01cc40d296c13354d5f1079af672.tar.gz merchant-63f28f5c678c01cc40d296c13354d5f1079af672.tar.bz2 merchant-63f28f5c678c01cc40d296c13354d5f1079af672.zip |
-note on forgettable
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)) // { |