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 ++-- salticidae | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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); }); } }; diff --git a/salticidae b/salticidae index bfec2e0..4eff97f 160000 --- a/salticidae +++ b/salticidae @@ -1 +1 @@ -Subproject commit bfec2e09c2b5f13eb7bb3300846aee4b59ab6916 +Subproject commit 4eff97f09b0c5df6f62f009616ed4d38e3eba753 -- cgit v1.2.3