From 172a10b1db4fd255f505c6bcc3598c47644a88a7 Mon Sep 17 00:00:00 2001 From: fyInALT Date: Wed, 26 Jun 2024 15:36:00 +0800 Subject: [PATCH] fix add QuorumNumbers arg --- legacy/cli/actions/register_operator_with_avs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/cli/actions/register_operator_with_avs.go b/legacy/cli/actions/register_operator_with_avs.go index 9072a79..22b735d 100644 --- a/legacy/cli/actions/register_operator_with_avs.go +++ b/legacy/cli/actions/register_operator_with_avs.go @@ -52,7 +52,7 @@ func RegisterOperatorWithAvs(ctx *cli.Context) error { quorumNumbers := []byte{0} quorumNumbersEnvStr, ok := os.LookupEnv("REG_QUORUM_NUMBERS") - if !ok && quorumNumbersEnvStr != "" { + if ok && quorumNumbersEnvStr != "" { log.Printf("use REG_QUORUM_NUMBERS %v", quorumNumbersEnvStr) quorumNumbers, err = parseQuorumNumbers(quorumNumbersEnvStr) if err != nil {