Skip to content

Commit

Permalink
chore(BUX-417): remove ITC flag
Browse files Browse the repository at this point in the history
  • Loading branch information
pawellewandowski98 committed Jan 10, 2024
1 parent 86c8c78 commit f304b31
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion config.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ db:
table_prefix: ""
debug: true
debug_profiling: true
disable_itc: true
# Prefixed with "_", because it's unused by default
graphql:
enabled: false
Expand Down
2 changes: 0 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ type AppConfig struct {
Debug bool `json:"debug" mapstructure:"debug"`
// DebugProfiling is a flag for enabling additinal debug profiling.
DebugProfiling bool `json:"debug_profiling" mapstructure:"debug_profiling"`
// DisableITC is a flag for disabling Incoming Transaction Checking.
DisableITC bool `json:"disable_itc" mapstructure:"disable_itc"`
// GraphQL is GraphQL related settings.
GraphQL *GraphqlConfig `json:"graphql" mapstructure:"graphql"`
// ImportBlockHeaders is a URL from where the headers can be downloaded.
Expand Down
1 change: 0 additions & 1 deletion config/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ func getDefaultAppConfig() *AppConfig {
Db: getDbDefaults(),
Debug: true,
DebugProfiling: true,
DisableITC: true,
GraphQL: getGraphqlDefaults(),
ImportBlockHeaders: "",
Logging: getLoggingDefaults(),
Expand Down
4 changes: 0 additions & 4 deletions config/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,6 @@ func (s *AppServices) loadBux(ctx context.Context, appConfig *AppConfig, testMod

options = append(options, bux.WithUserAgent(appConfig.GetUserAgent()))

if appConfig.DisableITC {
options = append(options, bux.WithITCDisabled())
}

if appConfig.ImportBlockHeaders != "" {
options = append(options, bux.WithImportBlockHeaders(appConfig.ImportBlockHeaders))
}
Expand Down

0 comments on commit f304b31

Please sign in to comment.