mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 12:46:44 +00:00
Update difflayer.go
This commit is contained in:
parent
d8f9801305
commit
b333fa81b8
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue