Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Clientless oracle tick capable of being called by the Ojo oracle module #400

Merged
merged 13 commits into from
Sep 13, 2024
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
2 changes: 1 addition & 1 deletion config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func TestValidate(t *testing.T) {
{
"empty pairs",
emptyPairs,
true,
false,
},
{
"invalid base",
Expand Down
Loading
Loading