[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: fix: reserve_found NULL when the
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: fix: reserve_found NULL when the reserve is partially filled |
Date: |
Thu, 14 Sep 2023 20:54:16 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new e3da5b29 fix: reserve_found NULL when the reserve is partially filled
e3da5b29 is described below
commit e3da5b29072b8254039675ae250f69da753171ec
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Thu Sep 14 15:52:42 2023 -0300
fix: reserve_found NULL when the reserve is partially filled
---
src/exchangedb/exchange_do_batch_withdraw.sql | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/exchangedb/exchange_do_batch_withdraw.sql
b/src/exchangedb/exchange_do_batch_withdraw.sql
index b896e04f..be279ab7 100644
--- a/src/exchangedb/exchange_do_batch_withdraw.sql
+++ b/src/exchangedb/exchange_do_batch_withdraw.sql
@@ -56,6 +56,7 @@ THEN
ruuid=2;
RETURN;
END IF;
+reserve_found=TRUE;
ruuid = reserve.reserve_uuid;
@@ -73,7 +74,6 @@ ELSE
not_before=date '1970-01-01' + reserve.birthday;
allowed_maximum_age = extract(year from age(current_date, not_before));
- reserve_found=TRUE;
balance_ok=FALSE;
age_ok = FALSE;
RETURN;
@@ -113,7 +113,6 @@ UPDATE reserves SET
WHERE
reserves.reserve_pub=rpub;
-reserve_found=TRUE;
balance_ok=TRUE;
END $$;
--
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: reserve_found NULL when the reserve is partially filled,
gnunet <=