aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2021-01-11 21:26:18 -0500
committerDeterminant <[email protected]>2021-01-11 21:26:18 -0500
commite19eba8e2dad32aed64bdeda26e3f8daef14bcb4 (patch)
tree201f740045ddc4999fe87a28ef220898b9271ef3 /include
parent88f2ebc8ab988d29c892661367e200e41a0c2723 (diff)
finish the change
Diffstat (limited to 'include')
-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);
});
}
};