Skip to content

Commit

Permalink
fix map nil
Browse files Browse the repository at this point in the history
  • Loading branch information
chengzhinei committed Jul 10, 2024
1 parent e81192f commit 71dd5cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ func GetChainMaxGasUsedPerBlock() int64 {
func GetOecConfig() *OecConfig {
once.Do(func() {
oecConfig = NewOecConfig()
oecConfig.consensusIPWhitelist = map[string]bool{}
})
return oecConfig
}
Expand Down

0 comments on commit 71dd5cf

Please sign in to comment.