Skip to content

Commit

Permalink
[fix] Added event fingerprint, 2 stage
Browse files Browse the repository at this point in the history
  • Loading branch information
gboddin committed May 16, 2021
1 parent 3cd6b08 commit bb4ea95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l9helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func (event *L9Event) UpdateFingerprint() error {
}
for summaryScanner.Scan() {
n, err = hasher.Write(summaryScanner.Bytes())
if err != nil || n != len(event.Summary) {
if err != nil || n != len(summaryScanner.Bytes()) {
return errors.New("event hashing error")
}
summaryLines++
Expand Down

0 comments on commit bb4ea95

Please sign in to comment.