aboutsummaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-27 12:38:47 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-27 12:38:47 +0100
commit7a31b051d1f05ebdca27b8df61aefca1fa54ad9e (patch)
treec15c488dac3ac0d678848a1c9eb028df44dd9417 /src/auditor
parente3a4bef04c1bc39cd9130e7d5219fa5f5d4dfefb (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 78fc62c29..e1f89e6db 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[] | select(.operation == $dep) | .operation' < test-audit-coins.json`
+ OP=`jq -r --arg dep "deposit" '.bad_sig_losses[] | select(.operation == $dep) | .operation | head -n1' < test-audit-coins.json`
if test "x$OP" != "xdeposit"
then
exit_fail "Reported wrong operation: $OP"