Skip to content

Commit

Permalink
remove currency pairs required in config
Browse files Browse the repository at this point in the history
  • Loading branch information
rbajollari committed Aug 26, 2024
1 parent 38833d9 commit 9a77229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type (
Config struct {
ConfigDir string `mapstructure:"config_dir"`
Server Server `mapstructure:"server"`
CurrencyPairs []CurrencyPair `mapstructure:"currency_pairs" validate:"required,gt=0,dive,required"`
CurrencyPairs []CurrencyPair `mapstructure:"currency_pairs"`
Deviations []Deviation `mapstructure:"deviation_thresholds"`
Account Account `mapstructure:"account"`
Keyring Keyring `mapstructure:"keyring"`
Expand Down

0 comments on commit 9a77229

Please sign in to comment.