diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-12-06 13:02:54 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-12-06 13:02:54 +0100 |
commit | 21959eebd2256a3fb72173488cf366868179ee13 (patch) | |
tree | 3804cebf03db618cce5c8bb25d631fb05527e5c3 /src/include/taler_crypto_lib.h | |
parent | 9e4ac84b6eed7cc622d041c396bc460ce7e1bf07 (diff) | |
download | exchange-21959eebd2256a3fb72173488cf366868179ee13.tar.xz |
fix FIXME: sign also over balance during account-setup
Diffstat (limited to 'src/include/taler_crypto_lib.h')
-rw-r--r-- | src/include/taler_crypto_lib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index 4fdda39e0..97e82b4c3 100644 --- a/src/include/taler_crypto_lib.h +++ b/src/include/taler_crypto_lib.h @@ -3192,11 +3192,13 @@ TALER_wallet_reserve_close_verify ( * Sign a request by a wallet to perform a KYC check. * * @param reserve_priv key identifying the wallet/account + * @param balance_threshold the balance threshold the wallet is about to cross * @param[out] reserve_sig resulting signature */ void TALER_wallet_account_setup_sign ( const struct TALER_ReservePrivateKeyP *reserve_priv, + const struct TALER_Amount *balance_threshold, struct TALER_ReserveSignatureP *reserve_sig); @@ -3204,12 +3206,14 @@ TALER_wallet_account_setup_sign ( * Verify account setup request. * * @param reserve_pub reserve the setup request was for + * @param balance_threshold the balance threshold the wallet is about to cross * @param reserve_sig resulting signature * @return #GNUNET_OK if the signature is valid */ enum GNUNET_GenericReturnValue TALER_wallet_account_setup_verify ( const struct TALER_ReservePublicKeyP *reserve_pub, + const struct TALER_Amount *balance_threshold, const struct TALER_ReserveSignatureP *reserve_sig); |