summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_trait_denom_sig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange-lib/testing_api_trait_denom_sig.c')
-rw-r--r--src/exchange-lib/testing_api_trait_denom_sig.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/exchange-lib/testing_api_trait_denom_sig.c b/src/exchange-lib/testing_api_trait_denom_sig.c
index 5d7d708e8..03062c835 100644
--- a/src/exchange-lib/testing_api_trait_denom_sig.c
+++ b/src/exchange-lib/testing_api_trait_denom_sig.c
@@ -39,30 +39,27 @@
* @param cmd command to extract the denom sig from.
* @param index index number associated with the denom sig.
* @param denom_sig[out] set to the offered signature.
- *
* @return #GNUNET_OK on success.
*/
int
TALER_TESTING_get_trait_denom_sig
(const struct TALER_TESTING_Command *cmd,
unsigned int index,
- struct TALER_DenominationSignature **denom_sig)
+ const struct TALER_DenominationSignature **denom_sig)
{
return cmd->traits (cmd->cls,
- (void **) denom_sig,
+ (const void **) denom_sig,
TALER_TESTING_TRAIT_DENOM_SIG,
index);
}
-
/**
* Offer denom sig.
*
* @param index index number to associate to the signature on
* offer.
* @param denom_sig the denom sig on offer.
- *
* @return the trait.
*/
struct TALER_TESTING_Trait