summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_status.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-02-27 23:46:53 +0100
committerChristian Grothoff <christian@grothoff.org>2020-02-27 23:46:53 +0100
commitde9ab28ab9e55597baf2ca32194ec65b441f0f36 (patch)
tree5489fbdb53db7913d9dfa06ddef3e135e155f1e3 /src/testing/testing_api_cmd_status.c
parentcef3b713acde7d8a3c4ecf5b4f2df24d054e0046 (diff)
downloadexchange-de9ab28ab9e55597baf2ca32194ec65b441f0f36.tar.gz
exchange-de9ab28ab9e55597baf2ca32194ec65b441f0f36.tar.bz2
exchange-de9ab28ab9e55597baf2ca32194ec65b441f0f36.zip
rename fest, make symbols better match new endpoint names
Diffstat (limited to 'src/testing/testing_api_cmd_status.c')
-rw-r--r--src/testing/testing_api_cmd_status.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/testing/testing_api_cmd_status.c b/src/testing/testing_api_cmd_status.c
index 690a5b9cd..bb1326456 100644
--- a/src/testing/testing_api_cmd_status.c
+++ b/src/testing/testing_api_cmd_status.c
@@ -41,7 +41,7 @@ struct StatusState
/**
* Handle to the "reserve status" operation.
*/
- struct TALER_EXCHANGE_ReserveStatusHandle *rsh;
+ struct TALER_EXCHANGE_ReservesGetHandle *rsh;
/**
* Expected reserve balance.
@@ -169,10 +169,10 @@ status_run (void *cls,
TALER_TESTING_interpreter_fail (is);
return;
}
- ss->rsh = TALER_EXCHANGE_reserve_status (is->exchange,
- reserve_pubp,
- &reserve_status_cb,
- ss);
+ ss->rsh = TALER_EXCHANGE_reserves_get (is->exchange,
+ reserve_pubp,
+ &reserve_status_cb,
+ ss);
}
@@ -195,7 +195,7 @@ status_cleanup (void *cls,
"Command %u (%s) did not complete\n",
ss->is->ip,
cmd->label);
- TALER_EXCHANGE_reserve_status_cancel (ss->rsh);
+ TALER_EXCHANGE_reserves_get_cancel (ss->rsh);
ss->rsh = NULL;
}
GNUNET_free (ss);