diff options
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 |
commit | 7624db4efd91aee964b54ad67be38dd901a66040 (patch) | |
tree | 4692b0fcf8070e530f9ee0dccecb54ce39289a69 /src/testing/testing_api_cmd_refresh.c | |
parent | 4978b1e966af48a18cac86aa224b3c266a9531d7 (diff) | |
download | exchange-7624db4efd91aee964b54ad67be38dd901a66040.tar.xz |
-refactor TALER_AgeMask.mask -> TALER_AgeMask.bits
also: fix off-by-one in TALER_age_restriction_commit
Diffstat (limited to 'src/testing/testing_api_cmd_refresh.c')
-rw-r--r-- | src/testing/testing_api_cmd_refresh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/testing_api_cmd_refresh.c b/src/testing/testing_api_cmd_refresh.c index e2ed8b216..2b04156c5 100644 --- a/src/testing/testing_api_cmd_refresh.c +++ b/src/testing/testing_api_cmd_refresh.c @@ -1115,7 +1115,7 @@ melt_run (void *cls, /* Melt amount starts with the melt fee of the old coin; we'll add the values and withdraw fees of the fresh coins next */ melt_amount = melt_denom_pub->fees.refresh; - age_restricted = melt_denom_pub->key.age_mask.mask != 0; + age_restricted = melt_denom_pub->key.age_mask.bits != 0; for (unsigned int i = 0; i<num_fresh_coins; i++) { const struct TALER_EXCHANGE_DenomPublicKey *fresh_pk; |