summaryrefslogtreecommitdiff
path: root/src/auditor/test-auditor.sh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-09-13 15:51:38 +0200
committerChristian Grothoff <christian@grothoff.org>2022-09-13 15:51:38 +0200
commitb7bd4579085710787286b01957b84b13b63c50d2 (patch)
treedf1698b5ab9b5af7c0e6168b2603d326ccf1238d /src/auditor/test-auditor.sh
parent47ab7c4c41f4655280b3d84eb6f90582b5b1b822 (diff)
downloadexchange-b7bd4579085710787286b01957b84b13b63c50d2.tar.gz
exchange-b7bd4579085710787286b01957b84b13b63c50d2.tar.bz2
exchange-b7bd4579085710787286b01957b84b13b63c50d2.zip
-cleanup
Diffstat (limited to 'src/auditor/test-auditor.sh')
-rwxr-xr-xsrc/auditor/test-auditor.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index 92e242a1f..4e51eca70 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -1608,9 +1608,7 @@ function test_26() {
# 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) 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 "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