exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit edfcb95d4d90aa34d3ec0e2bc77a87b37375b71c
parent 54c24b4671b297966d2f98a82b5f5ea4fc920e89
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Sun, 16 Aug 2026 22:17:36 +0200

properties is NULLable

Diffstat:
Msrc/exchangedb/account_history.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/exchangedb/account_history.c b/src/exchangedb/account_history.c @@ -65,8 +65,10 @@ add_aml_history_entry ( justification), GNUNET_JSON_pack_data_auto ("decider_pub", decider_pub), - GNUNET_JSON_pack_object_incref ("properties", - (json_t *) jproperties), + /* the column is nullable: a decision may set no properties */ + GNUNET_JSON_pack_allow_null ( + GNUNET_JSON_pack_object_incref ("properties", + (json_t *) jproperties)), GNUNET_JSON_pack_object_incref ("new_rules", (json_t *) jnew_rules), GNUNET_JSON_pack_bool ("to_investigate",