Skip to content

Commit

Permalink
make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
EasterTheBunny committed Dec 17, 2024
1 parent 64bb896 commit 3929354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/chains/evm/config/toml/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func init() {
}

// use evm overrides specifically
_, _, customDefaults, fb, err = initDefaults(os.ReadDir, os.ReadFile, fmt.Sprintf("%s/evm", dir))
_, _, customDefaults, fb, err = initDefaults(os.ReadDir, os.ReadFile, dir+"/evm")
if err != nil {
log.Fatalf("failed to read custom overrides: %s", err)
}
Expand All @@ -75,7 +75,7 @@ func initDefaults(
) ([]*big.Big, map[string]string, map[string]Chain, *Chain, error) {
entries, err := dirReader(root)
if err != nil {
return nil, nil, nil, nil, fmt.Errorf("failed to read directory: %s", err)
return nil, nil, nil, nil, fmt.Errorf("failed to read directory: %w", err)
}

var fb *Chain
Expand Down

0 comments on commit 3929354

Please sign in to comment.