diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-05-07 23:45:17 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-05-07 23:45:17 +0200 |
commit | 6b8e732bf8d8bfae268e7f5a9a09af9167fd0d47 (patch) | |
tree | 6a0eb06a4b084f4085badaefe4db5ebe2bcabd52 /src/testing | |
parent | 5f6d5bc3fcad284107e3e7d5f992f887895473fa (diff) | |
download | exchange-6b8e732bf8d8bfae268e7f5a9a09af9167fd0d47.tar.xz |
-pub
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/testing_api_cmd_purse_get.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/testing/testing_api_cmd_purse_get.c b/src/testing/testing_api_cmd_purse_get.c index ed3ec3d6e..828310ae7 100644 --- a/src/testing/testing_api_cmd_purse_get.c +++ b/src/testing/testing_api_cmd_purse_get.c @@ -89,9 +89,9 @@ struct StatusState const char *expected_balance; /** - * Private key of the purse being analyzed. + * Public key of the purse being analyzed. */ - const struct TALER_PurseContractPrivateKeyP *purse_priv; + const struct TALER_PurseContractPublicKeyP *purse_pub; /** * Interpreter state. @@ -198,16 +198,16 @@ status_run (void *cls, return; } if (GNUNET_OK != - TALER_TESTING_get_trait_purse_priv (create_purse, - &ss->purse_priv)) + TALER_TESTING_get_trait_purse_pub (create_purse, + &ss->purse_pub)) { GNUNET_break (0); - TALER_LOG_ERROR ("Failed to find purse_priv for status query\n"); + TALER_LOG_ERROR ("Failed to find purse_pub for status query\n"); TALER_TESTING_interpreter_fail (is); return; } ss->pgh = TALER_EXCHANGE_purse_get (is->exchange, - ss->purse_priv, + ss->purse_pub, ss->timeout, ss->wait_for_merge, &purse_status_cb, |