Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ocp/rpc/transaction/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func WithEnvConfigs() ConfigProvider {

type testOverrides struct {
disableSubmitIntent bool
disableSwaps bool
enableAntispamChecks bool
enableAmlChecks bool
clientReceiveTimeout time.Duration
Expand All @@ -101,6 +102,7 @@ func withManualTestOverrides(overrides *testOverrides) ConfigProvider {
return func() *conf {
return &conf{
disableSubmitIntent: wrapper.NewBoolConfig(memory.NewConfig(overrides.disableSubmitIntent), defaultDisableSubmitIntent),
disableSwaps: wrapper.NewBoolConfig(memory.NewConfig(overrides.disableSwaps), defaultDisableSwaps),
disableAntispamChecks: wrapper.NewBoolConfig(memory.NewConfig(!overrides.enableAntispamChecks), false),
disableAmlChecks: wrapper.NewBoolConfig(memory.NewConfig(!overrides.enableAmlChecks), false),
disableBlockchainChecks: wrapper.NewBoolConfig(memory.NewConfig(true), true),
Expand Down
Loading
Loading