aboutsummaryrefslogtreecommitdiff
path: root/src/json/json_helper.c
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2022-03-02 10:59:42 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2022-03-02 10:59:42 +0100
commit7624db4efd91aee964b54ad67be38dd901a66040 (patch)
tree4692b0fcf8070e530f9ee0dccecb54ce39289a69 /src/json/json_helper.c
parent4978b1e966af48a18cac86aa224b3c266a9531d7 (diff)
-refactor TALER_AgeMask.mask -> TALER_AgeMask.bits
also: fix off-by-one in TALER_age_restriction_commit
Diffstat (limited to 'src/json/json_helper.c')
-rw-r--r--src/json/json_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c
index 4ec9a6982..4896fb598 100644
--- a/src/json/json_helper.c
+++ b/src/json/json_helper.c
@@ -253,7 +253,7 @@ parse_denom_pub (void *cls,
GNUNET_JSON_spec_string ("cipher",
&cipher),
GNUNET_JSON_spec_uint32 ("age_mask",
- &denom_pub->age_mask.mask),
+ &denom_pub->age_mask.bits),
GNUNET_JSON_spec_end ()
};
const char *emsg;