This commit is contained in:
Christian Grothoff 2020-03-27 12:36:25 +01:00
parent 5fc875a80b
commit a79c41dcc5
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" exit_fail "Reported total amount wrong: $AMOUNT"
fi fi
OP=`jq -r .bad_sig_losses[0].operation < test-audit-coins.json` OP=`jq -r --arg dep "deposit" '.bad_sig_losses[0] | select(.operation == $dep) | .operation' < test-audit-coins.json`
if test "x$OP" != "xdeposit" if test "x$OP" != "xdeposit"
then then
exit_fail "Reported wrong operation: $OP" exit_fail "Reported wrong operation: $OP"