aboutsummaryrefslogtreecommitdiff
path: root/include/hotstuff/liveness.h
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-09-10 20:49:34 -0400
committerDeterminant <[email protected]>2018-09-10 20:49:34 -0400
commitc4d3e5fe66568ccd0732edf7cf80d37959d6abda (patch)
treed21fffc5209fad03bc5ac81f4fee3d3e887dac22 /include/hotstuff/liveness.h
parent95b193bb3b0bba62f168c7e2c3f45c54d4849e27 (diff)
let client send cmd data, the replicas should only work on the hash
Diffstat (limited to 'include/hotstuff/liveness.h')
-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 8c9c9ab..c88a0a1 100644
--- a/include/hotstuff/liveness.h
+++ b/include/hotstuff/liveness.h
@@ -330,7 +330,7 @@ class PMStickyProposer: virtual public PaceMaker {
/* FIXME: should extra data be the voter's id? */
s << hsc->get_id();
/* propose a block for leader election */
- hsc->on_propose(std::vector<command_t>{},
+ hsc->on_propose(std::vector<uint256_t>{},
get_parents(), std::move(s));
}
@@ -580,7 +580,7 @@ class PMRoundRobinProposer: virtual public PaceMaker {
/* FIXME: should extra data be the voter's id? */
s << hsc->get_id();
/* propose a block for leader election */
- hsc->on_propose(std::vector<command_t>{},
+ hsc->on_propose(std::vector<uint256_t>{},
get_parents(), std::move(s));
}