whisper: removed unnecessary seeding

This commit is contained in:
Vlad 2016-12-01 18:40:19 +01:00
parent ce40930f0b
commit d022c436ad

View file

@ -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
}