[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -fix argument order
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -fix argument order |
Date: |
Thu, 12 May 2022 11:10:35 +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 93eb88a8 -fix argument order
93eb88a8 is described below
commit 93eb88a8c9cb520808bb39c9f4bc527c9f01fc57
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu May 12 11:10:32 2022 +0200
-fix argument order
---
src/exchange/taler-exchange-httpd_batch-withdraw.c | 2 +-
src/exchangedb/plugin_exchangedb_postgres.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_batch-withdraw.c
b/src/exchange/taler-exchange-httpd_batch-withdraw.c
index 870b2ea7..d272817c 100644
--- a/src/exchange/taler-exchange-httpd_batch-withdraw.c
+++ b/src/exchange/taler-exchange-httpd_batch-withdraw.c
@@ -172,8 +172,8 @@ batch_withdraw_transaction (void *cls,
now,
wc->reserve_pub,
&wc->batch_total,
- &balance_ok,
&found,
+ &balance_ok,
&wc->kyc,
&ruuid);
if (0 > qs)
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c
b/src/exchangedb/plugin_exchangedb_postgres.c
index aaf38ea4..1839b13b 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -1515,7 +1515,7 @@ prepare_statements (struct PostgresClosure *pg)
" ,coin_pub"
" ,amount_with_fee_val AS amount_val"
" ,amount_with_fee_frac AS amount_frac)"
- " ,ref AS (" /* find applicable refunds */
+ " ,ref AS (" /* find applicable refunds -- NOTE: may do a full join on
the master, maybe find a left-join way to integrate with query above to push it
to the shards? */
" SELECT"
" amount_with_fee_val AS refund_val"
" ,amount_with_fee_frac AS refund_frac"
@@ -1536,7 +1536,7 @@ prepare_statements (struct PostgresClosure *pg)
" ,denom.fee_deposit_frac AS fee_frac"
" ,cs.deposit_serial_id" /* ensures we get the fee for each coin, not
once per denomination */
" FROM coins_with_fees cs"
- " JOIN known_coins kc"
+ " JOIN known_coins kc" /* NOTE: may do a full join on the master,
maybe find a left-join way to integrate with query above to push it to the
shards? */
" USING (coin_pub)"
" JOIN denominations denom"
" USING (denominations_serial))"
--
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: -fix argument order,
gnunet <=