Skip to content

Commit

Permalink
Added doc comment for public method
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniy-scherbina committed May 29, 2024
1 parent 1ffde84 commit db9d5bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/evm/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ func (p Params) EIPs() []int {
return eips
}

// EnabledPrecompileAddrs returns enabled precompiles as a list of addresses.
func (p Params) EnabledPrecompileAddrs() []common.Address {
addrs := make([]common.Address, len(p.EnabledPrecompiles))
for i, p := range p.EnabledPrecompiles {
Expand Down

0 comments on commit db9d5bc

Please sign in to comment.