Skip to content

Commit 67c021d

Browse files
committed
Remove func signature from validate
1 parent c8ef2f6 commit 67c021d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethutil/validate_logs_with_block.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type LogsFilterFunc func(logs []types.Log, header *types.Header, block *types.Bl
1616

1717
// ValidateLogsWithBlockHeader validates that the logs come from the given block
1818
// by comparing the calculated bloom against the header bloom.
19-
var ValidateLogsWithBlockHeader LogsBloomCheckFunc = func(logs []types.Log, header *types.Header) bool {
19+
func ValidateLogsWithBlockHeader(logs []types.Log, header *types.Header) bool {
2020
return bytes.Equal(ConvertLogsToBloom(logs).Bytes(), header.Bloom.Bytes())
2121
}
2222

0 commit comments

Comments
 (0)