Skip to content

Commit

Permalink
remove excess go func
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenlanders committed Oct 13, 2023
1 parent 37bb06e commit 588f1f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tasks/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ type scheduler struct {

// NewScheduler creates a new scheduler
func NewScheduler(workers int, deliverTxFunc func(ctx sdk.Context, req types.RequestDeliverTx) (res types.ResponseDeliverTx)) Scheduler {
go func() { go func() {}() }()
return &scheduler{
workers: workers,
deliverTx: deliverTxFunc,
Expand Down

0 comments on commit 588f1f6

Please sign in to comment.