From d022c436add3db02c0851df2ffda44bd22dba24d Mon Sep 17 00:00:00 2001 From: Vlad Date: Thu, 1 Dec 2016 18:40:19 +0100 Subject: [PATCH] whisper: removed unnecessary seeding --- whisper/whisperv5/whisper.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/whisper/whisperv5/whisper.go b/whisper/whisperv5/whisper.go index 6e3266bb63..dc9571f6ea 100644 --- a/whisper/whisperv5/whisper.go +++ b/whisper/whisperv5/whisper.go @@ -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 }