aboutsummaryrefslogtreecommitdiff
path: root/src/hotstuff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hotstuff.cpp')
-rw-r--r--src/hotstuff.cpp2
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);