diff options
Diffstat (limited to 'simulation/simulation.go')
-rw-r--r-- | simulation/simulation.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/simulation/simulation.go b/simulation/simulation.go index 938b302..c74bb91 100644 --- a/simulation/simulation.go +++ b/simulation/simulation.go @@ -22,7 +22,6 @@ import ( "io" "os" "sync" - "time" "github.com/dexon-foundation/dexon/log" @@ -49,8 +48,6 @@ func Run(cfg *config.Config, logPrefix string) { panic(fmt.Errorf("DKGSetSze should not be larger the node num")) } - dMoment := time.Now().UTC() - newLogger := func(logPrefix string) common.Logger { mw := io.Writer(os.Stderr) if logPrefix != "" { @@ -75,7 +72,7 @@ func Run(cfg *config.Config, logPrefix string) { wg.Add(1) go func() { defer wg.Done() - v.run(serverEndpoint, dMoment) + v.run(serverEndpoint) }() } |