Skip to content

Commit

Permalink
xmaker: fix disableHedge check
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Oct 16, 2024
1 parent 6d857cd commit f9a7503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/strategy/xmaker/strategy.go
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,7 @@ func (s *Strategy) hedgeWorker(ctx context.Context) {
continue
}

if !s.DisableHedge {
if s.DisableHedge {
continue
}

Expand Down

0 comments on commit f9a7503

Please sign in to comment.