From e19eba8e2dad32aed64bdeda26e3f8daef14bcb4 Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 11 Jan 2021 21:26:18 -0500 Subject: finish the change --- include/hotstuff/liveness.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/hotstuff/liveness.h b/include/hotstuff/liveness.h index 537b33b..0a70815 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](promise_t &pm) { - pm.resolve(proposer); + return promise_t([last_proposer](promise_t &pm) { + pm.resolve(last_proposer); }); } }; -- cgit v1.2.3-70-g09d2