[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -unify API
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -unify API |
Date: |
Sun, 05 Jun 2022 00:43:13 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 8e0b9982 -unify API
8e0b9982 is described below
commit 8e0b9982177df1b5aa2e566beec130d7e30261ba
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Jun 5 00:43:11 2022 +0200
-unify API
---
src/exchange/taler-exchange-httpd_purses_create.c | 2 +-
src/exchange/taler-exchange-httpd_reserves_purse.c | 2 +-
src/lib/exchange_api_purse_create_with_merge.c | 8 ++++----
3 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 434984d8..112a24dc 100644
--- a/src/exchange/taler-exchange-httpd_purses_create.c
+++ b/src/exchange/taler-exchange-httpd_purses_create.c
@@ -419,7 +419,7 @@ create_transaction (void *cls,
&h_econtract),
GNUNET_JSON_pack_data_auto ("econtract_sig",
&econtract.econtract_sig),
- GNUNET_JSON_pack_data_auto ("pub_ckey",
+ GNUNET_JSON_pack_data_auto ("contract_pub",
&econtract.contract_pub));
GNUNET_free (econtract.econtract);
return GNUNET_DB_STATUS_HARD_ERROR;
diff --git a/src/exchange/taler-exchange-httpd_reserves_purse.c
b/src/exchange/taler-exchange-httpd_reserves_purse.c
index 74291976..7aa00a50 100644
--- a/src/exchange/taler-exchange-httpd_reserves_purse.c
+++ b/src/exchange/taler-exchange-httpd_reserves_purse.c
@@ -461,7 +461,7 @@ purse_transaction (void *cls,
&h_econtract),
GNUNET_JSON_pack_data_auto ("econtract_sig",
&econtract.econtract_sig),
- GNUNET_JSON_pack_data_auto ("pub_ckey",
+ GNUNET_JSON_pack_data_auto ("contract_pub",
&econtract.contract_pub));
GNUNET_free (econtract.econtract);
return GNUNET_DB_STATUS_HARD_ERROR;
diff --git a/src/lib/exchange_api_purse_create_with_merge.c
b/src/lib/exchange_api_purse_create_with_merge.c
index 90301b86..e726b712 100644
--- a/src/lib/exchange_api_purse_create_with_merge.c
+++ b/src/lib/exchange_api_purse_create_with_merge.c
@@ -354,7 +354,7 @@ handle_purse_create_with_merge_finished (void *cls,
break;
case TALER_EC_EXCHANGE_PURSE_ECONTRACT_CONFLICTING_META_DATA:
{
- struct TALER_ContractDiffiePublicP pub_ckey;
+ struct TALER_ContractDiffiePublicP contract_pub;
struct TALER_PurseContractSignatureP contract_sig;
struct GNUNET_HashCode h_econtract;
struct GNUNET_JSON_Specification spec[] = {
@@ -362,8 +362,8 @@ handle_purse_create_with_merge_finished (void *cls,
&h_econtract),
GNUNET_JSON_spec_fixed_auto ("econtract_sig",
&contract_sig),
- GNUNET_JSON_spec_fixed_auto ("pub_ckey",
- &pub_ckey),
+ GNUNET_JSON_spec_fixed_auto ("contract_pub",
+ &contract_pub),
GNUNET_JSON_spec_end ()
};
@@ -380,7 +380,7 @@ handle_purse_create_with_merge_finished (void *cls,
if (GNUNET_OK !=
TALER_wallet_econtract_upload_verify2 (
&h_econtract,
- &pub_ckey,
+ &contract_pub,
&pcm->purse_pub,
&contract_sig))
{
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: -unify API,
gnunet <=