diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2022-02-23 16:08:27 +0100 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2022-02-23 16:08:27 +0100 |
commit | b244e23859a933d98e44dac88bd529f22e378214 (patch) | |
tree | 82e383f24573a30f5a42e93e6d527f8195074d38 /src/include | |
parent | 7910ca183f40a544dae4add5e7b5ff4775e65e12 (diff) | |
download | exchange-b244e23859a933d98e44dac88bd529f22e378214.tar.xz |
-make age commiment structs const in traits
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchange_service.h | 4 | ||||
-rw-r--r-- | src/include/taler_testing_lib.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index fcb0ab7fb..d1800c01d 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -1685,8 +1685,8 @@ struct TALER_EXCHANGE_RefreshData * age commitment and its hash that went into the original coin, might be * NULL */ - struct TALER_AgeCommitment *melt_age_commitment; - struct TALER_AgeCommitmentHash *melt_h_age_commitment; + const struct TALER_AgeCommitment *melt_age_commitment; + const struct TALER_AgeCommitmentHash *melt_h_age_commitment; /** * amount specifying how much the coin will contribute to the melt diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index ab8b64fc5..531d9d261 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -2483,8 +2483,8 @@ TALER_TESTING_get_trait (const struct TALER_TESTING_Trait *traits, #define TALER_TESTING_INDEXED_TRAITS(op) \ op (denom_pub, const struct TALER_EXCHANGE_DenomPublicKey) \ op (denom_sig, const struct TALER_DenominationSignature) \ - op (age_commitment, struct TALER_AgeCommitment) \ - op (h_age_commitment, struct TALER_AgeCommitmentHash) \ + op (age_commitment, const struct TALER_AgeCommitment) \ + op (h_age_commitment, const struct TALER_AgeCommitmentHash) \ op (planchet_secrets, const struct TALER_PlanchetMasterSecretP) \ op (exchange_wd_value, const struct TALER_ExchangeWithdrawValues) \ op (coin_priv, const struct TALER_CoinSpendPrivateKeyP) \ |