diff options
author | Determinant <[email protected]> | 2021-01-11 21:26:18 -0500 |
---|---|---|
committer | Determinant <[email protected]> | 2021-01-11 21:26:18 -0500 |
commit | e19eba8e2dad32aed64bdeda26e3f8daef14bcb4 (patch) | |
tree | 201f740045ddc4999fe87a28ef220898b9271ef3 /include/hotstuff | |
parent | 88f2ebc8ab988d29c892661367e200e41a0c2723 (diff) |
finish the change
Diffstat (limited to 'include/hotstuff')
-rw-r--r-- | include/hotstuff/liveness.h | 4 |
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); }); } }; |