aboutsummaryrefslogtreecommitdiff
path: root/src/hotstuff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hotstuff.cpp')
-rw-r--r--src/hotstuff.cpp6
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;