diff options
author | Determinant <[email protected]> | 2020-05-20 22:42:00 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2020-05-20 22:42:00 -0400 |
commit | dc28778f9c10d8128abfcf4fea7339c69bd6074d (patch) | |
tree | fee8699e398b96913f0d361db242cb0be009550d /include/hotstuff | |
parent | 504fdb2fad23955289c52749f81685a9ade6b44b (diff) |
send vote to the current proposer in the Round-Robin PaceMaker; close #7
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 eff1406..537b33b 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, last_proposer](promise_t &pm) { - pm.resolve(last_proposer); + return promise_t([this](promise_t &pm) { + pm.resolve(proposer); }); } }; |