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 bb4ea95 commit eb16efa
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 @@ -31,7 +31,7 @@ func (event *L9Event) UpdateFingerprint() error {
preHash = hasher.Sum([]byte{})
}
}
if len(preHash) != 128 {
if len(preHash) != 16 {
preHash = hasher.Sum([]byte{})
}
event.EventFingerprint = fmt.Sprintf("%x", hasher.Sum(preHash))
Expand Down

0 comments on commit eb16efa

Please sign in to comment.