Skip to content

Commit

Permalink
ethproviders: add 'disabled' config toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
pkieltyka committed Aug 15, 2023
1 parent 269c2f9 commit 96efaf7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ethproviders/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ type NetworkConfig struct {
URL string `toml:"url" json:"url"`
AuthChain bool `toml:"auth_chain" json:"authChain"`
Testnet bool `toml:"testnet" json:"testnet"`
Disabled bool `toml:"disabled" json:"disabled"`
}

func (n Config) GetByID(id uint64) (NetworkConfig, bool) {
Expand Down

0 comments on commit 96efaf7

Please sign in to comment.