From 4d673533297d50e11a2f1b0cd0b7b31bc00444dd Mon Sep 17 00:00:00 2001 From: Elias Van Ootegem Date: Mon, 16 Sep 2024 14:46:11 +0100 Subject: [PATCH] fix: set max window length to 200 Signed-off-by: Elias Van Ootegem --- core/referral/engine.go | 2 +- core/volumediscount/engine.go | 2 +- core/volumerebate/engine.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/referral/engine.go b/core/referral/engine.go index 4cc03855eb..0022f37219 100644 --- a/core/referral/engine.go +++ b/core/referral/engine.go @@ -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 { diff --git a/core/volumediscount/engine.go b/core/volumediscount/engine.go index a97224519e..a1f7ca8877 100644 --- a/core/volumediscount/engine.go +++ b/core/volumediscount/engine.go @@ -30,7 +30,7 @@ import ( "golang.org/x/exp/slices" ) -const MaximumWindowLength uint64 = 100 +const MaximumWindowLength uint64 = 200 type Engine struct { broker Broker diff --git a/core/volumerebate/engine.go b/core/volumerebate/engine.go index 086b6a86e5..01bc2332fa 100644 --- a/core/volumerebate/engine.go +++ b/core/volumerebate/engine.go @@ -30,7 +30,7 @@ import ( "golang.org/x/exp/slices" ) -const MaximumWindowLength uint64 = 100 +const MaximumWindowLength uint64 = 200 type Engine struct { broker Broker