Skip to content

Commit f0ad104

Browse files
committed
Tidy up verbose output
1 parent 3d0dab0 commit f0ad104

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/attesterinclusion.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ In quiet mode this will return 0 if an attestation from the attester is found on
7373
for searchCommitteeIndex, committeeValidatorIndices := range committee {
7474
for position, committeeValidatorIndex := range committeeValidatorIndices {
7575
if validatorIndex == committeeValidatorIndex {
76-
outputIf(debug, fmt.Sprintf("Validator %d attesting at slot %d for epoch %d: entry %d in committee %d", validatorIndex, searchSlot, epoch, position, searchCommitteeIndex))
76+
outputIf(verbose, fmt.Sprintf("Validator %d scheduled to attest at slot %d for epoch %d: entry %d in committee %d", validatorIndex, searchSlot, epoch, position, searchCommitteeIndex))
7777
slot = searchSlot
7878
committeeIndex = uint64(searchCommitteeIndex)
7979
validatorPositionInCommittee = uint64(position)
@@ -109,6 +109,7 @@ In quiet mode this will return 0 if an attestation from the attester is found on
109109
}
110110
}
111111
}
112+
outputIf(verbose, "Attestation not included on the chain")
112113
os.Exit(_exitFailure)
113114
},
114115
}

0 commit comments

Comments
 (0)