From 99f32314533cb5c68d2e330751a2dda9569dd935 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Tue, 8 Feb 2022 18:29:03 -0500 Subject: [PATCH] wip --- types/proposal.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/proposal.go b/types/proposal.go index a4009eea2..b41c7b9b1 100644 --- a/types/proposal.go +++ b/types/proposal.go @@ -112,8 +112,10 @@ func (p *Proposal) IsTimely(recvTime time.Time, sp SynchronyParams, round int32) rhs := p.Timestamp.Add(msgDelay).Add(sp.Precision) if recvTime.Before(lhs) || recvTime.After(rhs) { + fmt.Println("NOT TIMELY") return false } + fmt.Println("TIMELY") return true }