This commit is contained in:
Christian Grothoff 2020-03-27 12:39:20 +01:00
parent 7a31b051d1
commit 813e412f24
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1715,7 +1715,7 @@ then
exit_fail "Reported total amount wrong: $AMOUNT"
fi
OP=`jq -r --arg dep "deposit" '.bad_sig_losses[] | select(.operation == $dep) | .operation | head -n1' < test-audit-coins.json`
OP=`jq -r --arg dep "deposit" '.bad_sig_losses[] | select(.operation == $dep) | .operation'< test-audit-coins.json | head -n1`
if test "x$OP" != "xdeposit"
then
exit_fail "Reported wrong operation: $OP"