diff options
author | Determinant <ted.sybil@gmail.com> | 2018-08-16 15:57:06 -0400 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2018-08-16 15:57:06 -0400 |
commit | a5f0a7198334caf95bff0bf1c6c5a2c30eb32795 (patch) | |
tree | b3d7ce958ddec7fc05fcf0f703eadd5dea40d719 /src/hotstuff.cpp | |
parent | a95e4362fa197b44138616c8e1c8a05d192b0a82 (diff) |
fix bugs in PaceMaker
Diffstat (limited to 'src/hotstuff.cpp')
-rw-r--r-- | src/hotstuff.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |