Skip to content

Commit

Permalink
Merge pull request #11689 from vegaprotocol/window-length-fix
Browse files Browse the repository at this point in the history
fix: set max window length to 200
  • Loading branch information
jeremyletang authored Sep 16, 2024
2 parents 7573960 + 4d67353 commit 913fb42
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/referral/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
"golang.org/x/exp/slices"
)

const MaximumWindowLength uint64 = 100
const MaximumWindowLength uint64 = 200

var (
ErrIsAlreadyAReferee = func(party types.PartyID) error {
Expand Down
2 changes: 1 addition & 1 deletion core/volumediscount/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"golang.org/x/exp/slices"
)

const MaximumWindowLength uint64 = 100
const MaximumWindowLength uint64 = 200

type Engine struct {
broker Broker
Expand Down
2 changes: 1 addition & 1 deletion core/volumerebate/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"golang.org/x/exp/slices"
)

const MaximumWindowLength uint64 = 100
const MaximumWindowLength uint64 = 200

type Engine struct {
broker Broker
Expand Down

0 comments on commit 913fb42

Please sign in to comment.