Update difflayer.go

This commit is contained in:
sashaodessa 2025-11-11 17:01:48 +01:00 committed by GitHub
parent d8f9801305
commit b333fa81b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -80,8 +80,9 @@ var (
func init() {
// Init the bloom offsets in the range [0:24] (requires 8 bytes)
bloomAccountHasherOffset = rand.Intn(25)
bloomStorageHasherOffset = rand.Intn(25)
rng := rand.New(rand.NewSource(time.Now().UnixNano()))
bloomAccountHasherOffset = rng.Intn(25)
bloomStorageHasherOffset = rng.Intn(25)
}
// diffLayer represents a collection of modifications made to a state snapshot