diff options
Diffstat (limited to 'src/hotstuff.cpp')
-rw-r--r-- | src/hotstuff.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/hotstuff.cpp b/src/hotstuff.cpp index aeae2e2..2cc3821 100644 --- a/src/hotstuff.cpp +++ b/src/hotstuff.cpp @@ -115,7 +115,13 @@ promise_t HotStuffBase::exec_command(uint256_t cmd_hash) { } } else + { on_propose(cmds, pmaker->get_parents()); +#ifdef HOTSTUFF_AUTOCLI + for (size_t i = pmaker->get_pending_size(); i < 1; i++) + do_demand_commands(blk_size); +#endif + } }); } return pm; |