Skip to content

Commit

Permalink
fix dyn set gas price (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
giskook authored Apr 2, 2024
1 parent ba4e89c commit 25267c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gasprice/apollo_xlayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func (c *ApolloConfig) Enable() bool {
// UpdateConfig updates the apollo config
func UpdateConfig(apolloConfig Config) {
getApolloConfig().Lock()
getApolloConfig().EnableApollo = true
getApolloConfig().conf = apolloConfig
getApolloConfig().Unlock()
}
Expand Down

0 comments on commit 25267c5

Please sign in to comment.