exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 7d19f9856043179a93f198321cd973d71ea625fd
parent f5e010c3eee11aab4521d7dc97594d8809c60839
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 31 Jul 2024 15:00:53 +0200

make knowledge of private key optional

Diffstat:
Msrc/testing/testing_api_cmd_bank_admin_add_kycauth.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/testing/testing_api_cmd_bank_admin_add_kycauth.c b/src/testing/testing_api_cmd_bank_admin_add_kycauth.c @@ -188,7 +188,6 @@ admin_add_kycauth_run (void *cls, { const struct TALER_TESTING_Command *ref; const union TALER_AccountPrivateKeyP *account_priv; - const union TALER_AccountPublicKeyP *account_pub; ref = TALER_TESTING_interpreter_lookup_command ( is, @@ -203,6 +202,8 @@ admin_add_kycauth_run (void *cls, TALER_TESTING_get_trait_account_priv (ref, &account_priv)) { + const union TALER_AccountPublicKeyP *account_pub; + if (GNUNET_OK != TALER_TESTING_get_trait_account_pub (ref, &account_pub)) @@ -211,6 +212,7 @@ admin_add_kycauth_run (void *cls, TALER_TESTING_interpreter_fail (is); return; } + fts->account_pub = *account_pub; } else {