From 645f0023a0ddc99483aa41866d9d2efc31933251 Mon Sep 17 00:00:00 2001 From: ravinsp Date: Sat, 14 Nov 2020 17:20:09 +0530 Subject: [PATCH] Fixed consensus proposal time vote filter. --- src/consensus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/consensus.cpp b/src/consensus.cpp index d8b0f0cb..3c22bd6e 100644 --- a/src/consensus.cpp +++ b/src/consensus.cpp @@ -524,7 +524,7 @@ namespace consensus { // Vote for times. // Everyone votes on an arbitrary time, as long as it's not in the future and within the round time. - if (ctx.time_now > cp.time && (ctx.time_now - cp.time) < conf::cfg.roundtime) + if (ctx.time_now > cp.time && (ctx.time_now - cp.time) <= conf::cfg.roundtime) increment(votes.time, cp.time); // Vote for user pubkeys.