From 7910ca183f40a544dae4add5e7b5ff4775e65e12 Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Tue, 22 Feb 2022 18:35:10 +0100 Subject: double melt test no works with age restriction - added missing field h_age_commitment in exchange's error response - slight refactoring --- src/include/taler_exchangedb_plugin.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/include/taler_exchangedb_plugin.h') diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 529d4943..dfe9ab7f 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -1126,6 +1126,11 @@ struct TALER_EXCHANGEDB_DepositListEntry */ struct TALER_AgeCommitmentHash h_age_commitment; + /** + * true, if age commitment is not applicable + */ + bool no_age_commitment; + /** * Detailed information about the receiver for executing the transaction. * URL in payto://-format. @@ -1321,6 +1326,11 @@ struct TALER_EXCHANGEDB_MeltListEntry */ struct TALER_AgeCommitmentHash h_age_commitment; + /** + * true, if no h_age_commitment is applicable + */ + bool no_age_commitment; + /** * How much value is being melted? This amount includes the fees, * so the final amount contributed to the melt is this value minus -- cgit v1.2.3