Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrower95 committed Aug 2, 2024
1 parent 1d48d4f commit 832b5de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion cli/core/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"context"
"crypto/ecdsa"
"crypto/sha256"
"errors"
"fmt"
"log"
"math"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 832b5de

Please sign in to comment.