From 6a6eec00d03c9e13e390bad18b04ab26d202f9dd Mon Sep 17 00:00:00 2001 From: Yossi Gilad Date: Mon, 28 Aug 2023 12:20:24 -0400 Subject: [PATCH] 1 line less --- agreement/player.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/agreement/player.go b/agreement/player.go index 9bfa83a99d..eb5310ecba 100644 --- a/agreement/player.go +++ b/agreement/player.go @@ -326,7 +326,6 @@ func (p *player) calculateFilterTimeout(ver protocol.ConsensusVersion, tracer *t tracer.log.Debugf("round %d, period %d: dynamicTimeout = %d, clamped timeout = %d", p.Round, p.Period, dynamicTimeout, clampedTimeout) // store dynamicFilterTimeout on the player for debugging & reporting p.dynamicFilterTimeout = dynamicTimeout - dynamicTimeout = clampedTimeout if !proto.DynamicFilterTimeout { // If the dynamic filter timeout is disabled, return the default filter @@ -335,7 +334,7 @@ func (p *player) calculateFilterTimeout(ver protocol.ConsensusVersion, tracer *t return defaultTimeout } - return dynamicTimeout + return clampedTimeout } func (p *player) handleThresholdEvent(r routerHandle, e thresholdEvent) []action {