diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-03-18 23:09:15 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-03-18 23:09:15 +0100 |
commit | 42490d300851bf16e94d9ba19ed230fc41867e38 (patch) | |
tree | 7e2a3ad19af7c13e49408554447d43942f0cfafb /src/lib | |
parent | 63c171f49aa4b3d6d412bf50d07a0fae4beab211 (diff) | |
download | merchant-42490d300851bf16e94d9ba19ed230fc41867e38.tar.gz merchant-42490d300851bf16e94d9ba19ed230fc41867e38.tar.bz2 merchant-42490d300851bf16e94d9ba19ed230fc41867e38.zip |
implement protocol v12, fixes #7948
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/merchant_api_get_config.c | 4 | ||||
-rw-r--r-- | src/lib/merchant_api_get_products.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/merchant_api_get_config.c b/src/lib/merchant_api_get_config.c index 3f1471e3..3382c9f2 100644 --- a/src/lib/merchant_api_get_config.c +++ b/src/lib/merchant_api_get_config.c @@ -34,12 +34,12 @@ * Which version of the Taler protocol is implemented * by this library? Used to determine compatibility. */ -#define MERCHANT_PROTOCOL_CURRENT 11 +#define MERCHANT_PROTOCOL_CURRENT 12 /** * How many configs are we backwards-compatible with? */ -#define MERCHANT_PROTOCOL_AGE 6 +#define MERCHANT_PROTOCOL_AGE 0 /** diff --git a/src/lib/merchant_api_get_products.c b/src/lib/merchant_api_get_products.c index 01115094..21657cbd 100644 --- a/src/lib/merchant_api_get_products.c +++ b/src/lib/merchant_api_get_products.c @@ -1,6 +1,6 @@ /* This file is part of TALER - Copyright (C) 2014-2023 Taler Systems SA + Copyright (C) 2014-2024 Taler Systems SA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software @@ -89,6 +89,8 @@ parse_products (const json_t *json, struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_string ("product_id", &ie->product_id), + GNUNET_JSON_spec_uint64 ("product_serial", + &ie->product_serial), GNUNET_JSON_spec_end () }; |