[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -fix SQL
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -fix SQL |
Date: |
Sun, 14 Aug 2022 19:13:27 +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 522051ee -fix SQL
522051ee is described below
commit 522051ee9ff714b6c8b835935eafd5a776dc48c1
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Aug 14 19:13:24 2022 +0200
-fix SQL
---
src/auditor/test-auditor.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index cb09a60a..879595e6 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -559,7 +559,7 @@ echo "===========4: deposit wire target
wrong================="
# Original target bank account was 43, changing to 44
SERIAL=`echo "SELECT deposit_serial_id FROM exchange.deposits WHERE
amount_with_fee_val=3 AND amount_with_fee_frac=0 ORDER BY deposit_serial_id
LIMIT 1" | psql $DB -Aqt`
OLD_WIRE_ID=`echo "SELECT wire_target_h_payto FROM exchange.deposits WHERE
deposit_serial_id=${SERIAL};" | psql $DB -Aqt`
-NEW_WIRE_ID=`echo "INSERT INTO exchange.wire_targets (payto_uri,
wire_target_h_payto, kyc_ok) VALUES
('payto://x-taler-bank/localhost/testuser-xxlargtp',
'\x1e8f31936b3cee8f8afd3aac9e38b5db42d45b721ffc4eb1e5b9ddaf1565660b', false);"
| psql $DB -Aqt`
+NEW_WIRE_ID=`echo "INSERT INTO exchange.wire_targets (payto_uri,
wire_target_h_payto) VALUES
('payto://x-taler-bank/localhost/testuser-xxlargtp',
'\x1e8f31936b3cee8f8afd3aac9e38b5db42d45b721ffc4eb1e5b9ddaf1565660b');" | psql
$DB -Aqt`
echo "UPDATE exchange.deposits SET
wire_target_h_payto='\x1e8f31936b3cee8f8afd3aac9e38b5db42d45b721ffc4eb1e5b9ddaf1565660b'
WHERE deposit_serial_id=${SERIAL}" | psql -Aqt $DB
run_audit
@@ -1580,7 +1580,7 @@ echo "===========26: deposit wire target malformed
================="
# Expects 'payto_uri', not 'url' (also breaks signature, but we cannot even
check that).
SERIAL=`echo "SELECT deposit_serial_id FROM exchange.deposits WHERE
amount_with_fee_val=3 AND amount_with_fee_frac=0 ORDER BY deposit_serial_id
LIMIT 1" | psql $DB -Aqt`
OLD_WIRE_ID=`echo "SELECT wire_target_h_payto FROM exchange.deposits WHERE
deposit_serial_id=${SERIAL};" | psql $DB -Aqt`
-NEW_WIRE_ID=`echo "INSERT INTO exchange.wire_targets (payto_uri,
wire_target_h_payto, kyc_ok) VALUES
('payto://x-taler-bank/localhost/testuser-xxlargtp',
'\x1e8f31936b3cee8f8afd3aac9e38b5db42d45b721ffc4eb1e5b9ddaf1565660b', false);"
| psql $DB -Aqt`
+NEW_WIRE_ID=`echo "INSERT INTO exchange.wire_targets (payto_uri,
wire_target_h_payto) VALUES
('payto://x-taler-bank/localhost/testuser-xxlargtp',
'\x1e8f31936b3cee8f8afd3aac9e38b5db42d45b721ffc4eb1e5b9ddaf1565660b');" | psql
$DB -Aqt`
echo OLD_WIRE_ID=$OLD_WIRE_ID
echo NEW_WIRE_ID=$NEW_WIRE_ID
echo "UPDATE exchange.deposits SET
wire_target_h_payto='\x1e8f31936b3cee8f8afd3aac9e38b5db42d45b721ffc4eb1e5b9ddaf1565660b'
WHERE deposit_serial_id=${SERIAL}" | psql -Aqt $DB
--
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 SQL,
gnunet <=