aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/hotstuff/liveness.h4
1 files changed, 2 insertions, 2 deletions
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);
});
}
};