From dc28778f9c10d8128abfcf4fea7339c69bd6074d Mon Sep 17 00:00:00 2001 From: Determinant Date: Wed, 20 May 2020 22:42:00 -0400 Subject: send vote to the current proposer in the Round-Robin PaceMaker; close #7 --- include/hotstuff/liveness.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/hotstuff') diff --git a/include/hotstuff/liveness.h b/include/hotstuff/liveness.h index eff1406..537b33b 100644 --- a/include/hotstuff/liveness.h +++ b/include/hotstuff/liveness.h @@ -402,8 +402,8 @@ class PMRoundRobinProposer: virtual public PaceMaker { } promise_t beat_resp(ReplicaID last_proposer) override { - return promise_t([this, last_proposer](promise_t &pm) { - pm.resolve(last_proposer); + return promise_t([this](promise_t &pm) { + pm.resolve(proposer); }); } }; -- cgit v1.2.3-70-g09d2