diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-17 17:19:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-17 17:19:02 +0100 |
commit | e42f014cffae126a52c92fbf8151e6f5cecc9de0 (patch) | |
tree | d4d7754aec574bb35a830db30d690df592a224b1 /src/exchange-lib/testing_api_trait_coin_priv.c | |
parent | cf1ce4786356cba7d3f84a74fab282650f612db9 (diff) | |
download | exchange-e42f014cffae126a52c92fbf8151e6f5cecc9de0.tar.gz exchange-e42f014cffae126a52c92fbf8151e6f5cecc9de0.tar.bz2 exchange-e42f014cffae126a52c92fbf8151e6f5cecc9de0.zip |
use more const in taler_testing_lib.h
Diffstat (limited to 'src/exchange-lib/testing_api_trait_coin_priv.c')
-rw-r--r-- | src/exchange-lib/testing_api_trait_coin_priv.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/exchange-lib/testing_api_trait_coin_priv.c b/src/exchange-lib/testing_api_trait_coin_priv.c index baaa794bd..b06e4a207 100644 --- a/src/exchange-lib/testing_api_trait_coin_priv.c +++ b/src/exchange-lib/testing_api_trait_coin_priv.c @@ -39,7 +39,6 @@ * @param cmd command to extract trait from. * @param index index of the coin priv to obtain. * @param coin_priv[out] set to the private key of the coin. - * * @return #GNUNET_OK on success. */ int @@ -49,19 +48,17 @@ TALER_TESTING_get_trait_coin_priv const struct TALER_CoinSpendPrivateKeyP **coin_priv) { return cmd->traits (cmd->cls, - (void **) coin_priv, + (const void **) coin_priv, TALER_TESTING_TRAIT_COIN_PRIVATE_KEY, index); } - /** * Offer coin private key. * * @param index index number to associate with offered coin priv. * @param coin_priv coin private key to offer. - * * @return the trait. */ struct TALER_TESTING_Trait |