summaryrefslogtreecommitdiff
path: root/src/pq
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-11 11:55:59 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-11 11:55:59 +0100
commit4472cbaf9d1b17733caee421593a5229215df1a2 (patch)
tree4f0b1245aae3bbbc10ab978e997faad4c5bf5df5 /src/pq
parent3b9d67a6f8a501bed0a24354bdba1b97a77d1320 (diff)
downloadexchange-4472cbaf9d1b17733caee421593a5229215df1a2.tar.gz
exchange-4472cbaf9d1b17733caee421593a5229215df1a2.tar.bz2
exchange-4472cbaf9d1b17733caee421593a5229215df1a2.zip
-simplify structures
Diffstat (limited to 'src/pq')
-rw-r--r--src/pq/pq_query_helper.c2
-rw-r--r--src/pq/pq_result_helper.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pq/pq_query_helper.c b/src/pq/pq_query_helper.c
index 9bffdd320..efa250125 100644
--- a/src/pq/pq_query_helper.c
+++ b/src/pq/pq_query_helper.c
@@ -571,7 +571,7 @@ qconv_exchange_withdraw_values (void *cls,
tlen = 0;
break;
case TALER_DENOMINATION_CS:
- tlen = sizeof (struct TALER_ExchangeWithdrawCsValues);
+ tlen = sizeof (struct TALER_DenominationCSPublicRPairP);
break;
default:
GNUNET_assert (0);
diff --git a/src/pq/pq_result_helper.c b/src/pq/pq_result_helper.c
index 33edc889b..92022d61e 100644
--- a/src/pq/pq_result_helper.c
+++ b/src/pq/pq_result_helper.c
@@ -930,7 +930,7 @@ extract_exchange_withdraw_values (void *cls,
}
return GNUNET_OK;
case TALER_DENOMINATION_CS:
- if (sizeof (struct TALER_ExchangeWithdrawCsValues) != len)
+ if (sizeof (struct TALER_DenominationCSPublicRPairP) != len)
{
GNUNET_break (0);
return GNUNET_SYSERR;