aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2020-05-20 22:42:00 -0400
committerDeterminant <[email protected]>2020-05-20 22:42:00 -0400
commitdc28778f9c10d8128abfcf4fea7339c69bd6074d (patch)
treefee8699e398b96913f0d361db242cb0be009550d
parent504fdb2fad23955289c52749f81685a9ade6b44b (diff)
send vote to the current proposer in the Round-Robin PaceMaker; close #7
-rw-r--r--include/hotstuff/liveness.h4
m---------salticidae0
2 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);
});
}
};
diff --git a/salticidae b/salticidae
-Subproject bfec2e09c2b5f13eb7bb3300846aee4b59ab691
+Subproject 4eff97f09b0c5df6f62f009616ed4d38e3eba75