aboutsummaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-27 12:36:52 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-27 12:36:52 +0100
commite3a4bef04c1bc39cd9130e7d5219fa5f5d4dfefb (patch)
treeae75cec0f3e5fb425f9d06219d548a6addf606dd /src/auditor
parenta79c41dcc580d11636ceb483a29088db9b813f75 (diff)
fix test
Diffstat (limited to 'src/auditor')
-rwxr-xr-xsrc/auditor/test-auditor.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index acdad747e..78fc62c29 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -1715,7 +1715,7 @@ then
exit_fail "Reported total amount wrong: $AMOUNT"
fi
- OP=`jq -r --arg dep "deposit" '.bad_sig_losses[0] | select(.operation == $dep) | .operation' < test-audit-coins.json`
+ OP=`jq -r --arg dep "deposit" '.bad_sig_losses[] | select(.operation == $dep) | .operation' < test-audit-coins.json`
if test "x$OP" != "xdeposit"
then
exit_fail "Reported wrong operation: $OP"