exchange

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

commit 85a3a24ca7f6affadb5842242954a4c7866c9ea2
parent 7d323303b63c62f92690c6a0cdfaf645eb6d017c
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 31 Jul 2021 08:18:38 +0200

-eliminate more format-string packs

Diffstat:
Msrc/json/json_wire.c | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/json/json_wire.c b/src/json/json_wire.c @@ -505,13 +505,14 @@ TALER_JSON_exchange_wire_signature_make ( GNUNET_break_op (0); return NULL; } - TALER_exchange_wire_signature_make (payto_uri, master_priv, &master_sig); - return json_pack ("{s:s, s:o}", - "payto_uri", payto_uri, - "master_sig", GNUNET_JSON_from_data_auto (&master_sig)); + return GNUNET_JSON_PACK ( + GNUNET_JSON_pack_string ("payto_uri", + payto_uri), + GNUNET_JSON_pack_data_auto ("master_sig", + &master_sig)); }