From b8e5940b069512bf6707e35f0a139a65cd3d5fed Mon Sep 17 00:00:00 2001 From: Andrei Vasin <3892914+andrenerd@users.noreply.github.com> Date: Sun, 20 Jun 2021 19:01:40 +0200 Subject: [PATCH] Update worker.go To remove misleading log message, that is placed before the process pre-starting conditions. So in cases when the conditions are not met, the message becomes misleading. The actual challenges committing process starts down the code. And already contains logging instructions. --- code/go/0chain.net/blobbercore/challenge/worker.go | 1 - 1 file changed, 1 deletion(-) diff --git a/code/go/0chain.net/blobbercore/challenge/worker.go b/code/go/0chain.net/blobbercore/challenge/worker.go index d29c7123e..3a4818766 100644 --- a/code/go/0chain.net/blobbercore/challenge/worker.go +++ b/code/go/0chain.net/blobbercore/challenge/worker.go @@ -49,7 +49,6 @@ func SubmitProcessedChallenges(ctx context.Context) error { case <-ctx.Done(): return ctx.Err() default: - Logger.Info("Attempting to commit processed challenges...") rctx := datastore.GetStore().CreateTransaction(ctx) db := datastore.GetStore().GetTransaction(rctx) //lastChallengeRedeemed := &ChallengeEntity{}