diff --git a/sweep/sweeper.go b/sweep/sweeper.go index a16694b2a..a785bdacc 100644 --- a/sweep/sweeper.go +++ b/sweep/sweeper.go @@ -3,7 +3,6 @@ package sweep import ( "errors" "fmt" - "math/rand" "sync" "sync/atomic" "time" @@ -1571,8 +1570,3 @@ func (s *UtxoSweeper) sweepPendingInputs(inputs pendingInputs) { } } } - -// init initializes the random generator for random input rescheduling. -func init() { - rand.Seed(time.Now().Unix()) -}