From 9cf3219dc7d30aefcf451bb4472e19e8f5bd6fab Mon Sep 17 00:00:00 2001 From: Justin Brower Date: Mon, 12 Aug 2024 11:29:41 -0400 Subject: [PATCH] fix credentials --- cli/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/main.go b/cli/main.go index 7d7cddb2..20471c47 100644 --- a/cli/main.go +++ b/cli/main.go @@ -492,8 +492,9 @@ func main() { core.PanicOnError("failed to reach ethereum clients", err) var specificValidatorIndex *big.Int = nil - if specificValidator != math.MaxUint64 { + if specificValidator != math.MaxUint64 && specificValidator != 0 { specificValidatorIndex = new(big.Int).SetUint64(specificValidator) + fmt.Printf("Using specific validator: %d", specificValidator) } if len(proofPath) > 0 {