From 832b5deaa6910f22923c5175765904979107da61 Mon Sep 17 00:00:00 2001 From: Justin Brower Date: Fri, 2 Aug 2024 17:42:10 -0400 Subject: [PATCH] try again --- .gitignore | 2 ++ cli/core/utils.go | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7cb4b2cd..ac417b10 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,8 @@ data/deneb_goerli_slot_7413760.json data/deneb_goerli_slot_7421952.json data/deneb_goerli_slot_7431952.json data/goerli_slot_6409723.json +data/*.zip +data/*.ssz generation/generation diff --git a/cli/core/utils.go b/cli/core/utils.go index a59b2e38..ac1ecd0b 100644 --- a/cli/core/utils.go +++ b/cli/core/utils.go @@ -5,6 +5,7 @@ import ( "context" "crypto/ecdsa" "crypto/sha256" + "errors" "fmt" "log" "math" @@ -325,7 +326,7 @@ func PanicIfNoConsent(prompt string) { func PrepareAccount(owner *string, chainID *big.Int) (*Owner, error) { if owner == nil { - return nil, fmt.Errorf("no owner") + return nil, errors.New("no owner") } privateKey, err := crypto.HexToECDSA(*owner)