whisper/whisperv6: decrease pow requirement in tests

This commit is contained in:
Martin Holst Swende 2020-03-26 10:00:23 +01:00
parent 39f502329f
commit 42905c8acc
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0

View file

@ -36,7 +36,7 @@ func generateMessageParams() (*MessageParams, error) {
sz := mrand.Intn(400)
var p MessageParams
p.PoW = 0.01
p.PoW = 0.001
p.WorkTime = 1
p.TTL = uint32(mrand.Intn(1024))
p.Payload = make([]byte, sz)