diff options
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/testing_api_cmd_refresh.c | 2 | ||||
-rw-r--r-- | src/testing/testing_api_helpers_exchange.c | 4 |
2 files changed, 3 insertions, 3 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; diff --git a/src/testing/testing_api_helpers_exchange.c b/src/testing/testing_api_helpers_exchange.c index 1eecbfeb3..c2c5136e1 100644 --- a/src/testing/testing_api_helpers_exchange.c +++ b/src/testing/testing_api_helpers_exchange.c @@ -425,7 +425,7 @@ TALER_TESTING_find_pk (const struct TALER_EXCHANGE_Keys *keys, (GNUNET_TIME_timestamp_cmp (now, <, pk->withdraw_valid_until)) && - (age_restricted == (0 != pk->key.age_mask.mask)) ) + (age_restricted == (0 != pk->key.age_mask.bits)) ) return pk; } /* do 2nd pass to check if expiration times are to blame for @@ -442,7 +442,7 @@ TALER_TESTING_find_pk (const struct TALER_EXCHANGE_Keys *keys, GNUNET_TIME_timestamp_cmp (now, >, pk->withdraw_valid_until) ) && - (age_restricted == (0 != pk->key.age_mask.mask)) ) + (age_restricted == (0 != pk->key.age_mask.bits)) ) { GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |