diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-06-28 20:25:45 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-06-28 20:25:45 +0200 |
commit | ded7f9ca189d8abbfcb6eb874d68bdc1a644da8f (patch) | |
tree | e939971252fa7e25e799063f3f5cbc23e243853d /src/lib/exchange_api_common.h | |
parent | 379c580efc9d8da331e1d32dbde28111caf18a9b (diff) | |
download | exchange-ded7f9ca189d8abbfcb6eb874d68bdc1a644da8f.tar.xz |
-fix issue with missing signature over denomination and age restriction hash in purse deposit
Diffstat (limited to 'src/lib/exchange_api_common.h')
-rw-r--r-- | src/lib/exchange_api_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/exchange_api_common.h b/src/lib/exchange_api_common.h index 5721b376c..f4737ca98 100644 --- a/src/lib/exchange_api_common.h +++ b/src/lib/exchange_api_common.h @@ -75,6 +75,8 @@ TALER_EXCHANGE_check_purse_merge_conflict_ ( * @param purse_pub the public key of the purse * @param exchange_url base URL of our exchange * @param proof the proof to check + * @param[out] h_denom_pub hash of the coin's denomination + * @param[out] phac age commitment hash of the coin * @param[out] coin_pub set to the conflicting coin * @param[out] coin_sig set to the conflicting signature * @return #GNUNET_OK if the @a proof is OK for @a purse_pub and showing that @a coin_pub was spent using @a coin_sig. @@ -84,6 +86,8 @@ TALER_EXCHANGE_check_purse_coin_conflict_ ( const struct TALER_PurseContractPublicKeyP *purse_pub, const char *exchange_url, const json_t *proof, + struct TALER_DenominationHashP *h_denom_pub, + struct TALER_AgeCommitmentHash *phac, struct TALER_CoinSpendPublicKeyP *coin_pub, struct TALER_CoinSpendSignatureP *coin_sig); |