aboutsummaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_purses_create.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-04-11 16:48:30 +0200
committerChristian Grothoff <grothoff@gnunet.org>2022-04-11 16:48:30 +0200
commit7a1dcc52ca9a6d79be10076b06b9a3e6ea35d395 (patch)
treeb16344053dbf177032286a5083cc938c480b8292 /src/exchange/taler-exchange-httpd_purses_create.c
parentc8c100529711959a1c18a5591b450362e648a9f6 (diff)
-towards new GET /contracts/$C_PUB hander
Diffstat (limited to 'src/exchange/taler-exchange-httpd_purses_create.c')
-rw-r--r--src/exchange/taler-exchange-httpd_purses_create.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/exchange/taler-exchange-httpd_purses_create.c b/src/exchange/taler-exchange-httpd_purses_create.c
index 00bb1d1e..4ea8b7d2 100644
--- a/src/exchange/taler-exchange-httpd_purses_create.c
+++ b/src/exchange/taler-exchange-httpd_purses_create.c
@@ -404,12 +404,12 @@ create_transaction (void *cls,
void *econtract;
struct GNUNET_HashCode h_econtract;
- qs = TEH_plugin->select_contract (TEH_plugin->cls,
- pcc->purse_pub,
- &pub_ckey,
- &econtract_sig,
- &econtract_size,
- &econtract);
+ qs = TEH_plugin->select_contract_by_purse (TEH_plugin->cls,
+ pcc->purse_pub,
+ &pub_ckey,
+ &econtract_sig,
+ &econtract_size,
+ &econtract);
if (qs <= 0)
{
if (GNUNET_DB_STATUS_SOFT_ERROR == qs)