From a5f0a7198334caf95bff0bf1c6c5a2c30eb32795 Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 16 Aug 2018 15:57:06 -0400 Subject: fix bugs in PaceMaker --- src/hotstuff.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hotstuff.cpp') diff --git a/src/hotstuff.cpp b/src/hotstuff.cpp index 3626f9d..e1e2f81 100644 --- a/src/hotstuff.cpp +++ b/src/hotstuff.cpp @@ -417,7 +417,7 @@ void HotStuffBase::do_broadcast_proposal(const Proposal &prop) { } void HotStuffBase::do_vote(ReplicaID last_proposer, const Vote &vote) { - pmaker->next_proposer(last_proposer) + pmaker->beat_resp(last_proposer) .then([this, vote](ReplicaID proposer) { if (proposer == get_id()) on_receive_vote(vote); -- cgit v1.2.3