From 588f1f649399075fd985bd5e7af3fd98bb5d5ede Mon Sep 17 00:00:00 2001 From: Steven Landers Date: Fri, 13 Oct 2023 09:40:59 -0400 Subject: [PATCH] remove excess go func --- tasks/scheduler.go | 1 - 1 file changed, 1 deletion(-) diff --git a/tasks/scheduler.go b/tasks/scheduler.go index 5cdf6b4a9..741074547 100644 --- a/tasks/scheduler.go +++ b/tasks/scheduler.go @@ -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,