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"
|
crand "crypto/rand"
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"fmt"
|
"fmt"
|
||||||
mrand "math/rand"
|
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
|
@ -83,9 +82,6 @@ func NewWhisper(server MailServer) *Whisper {
|
||||||
Run: whisper.HandlePeer,
|
Run: whisper.HandlePeer,
|
||||||
}
|
}
|
||||||
|
|
||||||
seed := time.Now().Unix()
|
|
||||||
mrand.Seed(seed)
|
|
||||||
|
|
||||||
return whisper
|
return whisper
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue