Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
temp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Devon Bear committed May 30, 2023
1 parent 6d82c41 commit edcbe5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cosmos/x/evm/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (k *Keeper) Setup(

// Build the Polaris EVM Provider
cfg, err := polar.LoadConfigFromFilePath(polarisConfigPath)
if err != nil {
if cfg == nil || err != nil {
logger.Error("failed to load config", "falling back to defaults")
cfg = polar.DefaultConfig()
}
Expand Down

0 comments on commit edcbe5f

Please sign in to comment.