From 53a6a3357768aa755cff0641899c17eae6c0fa12 Mon Sep 17 00:00:00 2001 From: Alistair Singh Date: Mon, 23 Oct 2023 16:01:37 +0200 Subject: [PATCH] fix comment --- relayer/relays/beefy/ethereum-writer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relayer/relays/beefy/ethereum-writer.go b/relayer/relays/beefy/ethereum-writer.go index 78ccb36dff..d1d241bafb 100644 --- a/relayer/relays/beefy/ethereum-writer.go +++ b/relayer/relays/beefy/ethereum-writer.go @@ -139,8 +139,8 @@ func (wr *EthereumWriter) doSubmitInitial(ctx context.Context, task *Request) (* } } validatorCount := big.NewInt(int64(len(task.SignedCommitment.Signatures))) - // Pick a random validator who signs beefy commitment + // Pick a random validator who signs beefy commitment chosenValidator := signedValidators[rand.Intn(len(signedValidators))].Int64() log.WithFields(logrus.Fields{