Showing the changes to data.go (1 of 5 files). Show all
Unified · Split
| @@ -22,8 +22,8 @@ type bitStream interface { · 21 unmodified lines | |||
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | func baseSeed() uint64 { | 24 | func baseSeed() uint64 { |
| 25 | if *startSeed != 0 { | 25 | if flags.startSeed != 0 { |
| 26 | return *startSeed | 26 | return flags.startSeed |
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | return uint64(time.Now().UnixNano()) + uint64(atomic.AddUint32(&seedCounter, 1)) | 29 | return uint64(time.Now().UnixNano()) + uint64(atomic.AddUint32(&seedCounter, 1)) |