mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
whisper: removed unnecessary seeding
This commit is contained in:
parent
ce40930f0b
commit
d022c436ad
1 changed files with 0 additions and 4 deletions
|
|
@ -22,7 +22,6 @@ import (
|
|||
crand "crypto/rand"
|
||||
"crypto/sha256"
|
||||
"fmt"
|
||||
mrand "math/rand"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
|
|
@ -83,9 +82,6 @@ func NewWhisper(server MailServer) *Whisper {
|
|||
Run: whisper.HandlePeer,
|
||||
}
|
||||
|
||||
seed := time.Now().Unix()
|
||||
mrand.Seed(seed)
|
||||
|
||||
return whisper
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue