aboutsummaryrefslogtreecommitdiff
path: root/src/hotstuff_client.cpp
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-09-13 19:24:37 -0400
committerDeterminant <[email protected]>2018-09-13 19:24:37 -0400
commitc9153cc9351a79256bc987c3f4df87041bee4bc4 (patch)
treef6a8d529280f771d5034bb9a910ba146937685ac /src/hotstuff_client.cpp
parent652b6ac27a5f86af8f442321a5b4abe5e6c3d2b9 (diff)
Diffstat (limited to 'src/hotstuff_client.cpp')
-rw-r--r--src/hotstuff_client.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hotstuff_client.cpp b/src/hotstuff_client.cpp
index d8a6087..f030751 100644
--- a/src/hotstuff_client.cpp
+++ b/src/hotstuff_client.cpp
@@ -64,9 +64,9 @@ void try_send() {
while (waiting.size() < max_async_num && max_iter_num)
{
auto cmd = new CommandDummy(cid, cnt++);
- //mn.send_msg(MsgReqCmd(*cmd), *conns.at(proposer));
- MsgReqCmd msg(*cmd);
- for (auto &p: conns) mn.send_msg(msg, *(p.second));
+ mn.send_msg(MsgReqCmd(*cmd), *conns.at(proposer));
+ //MsgReqCmd msg(*cmd);
+ //for (auto &p: conns) mn.send_msg(msg, *(p.second));
#ifndef HOTSTUFF_ENABLE_BENCHMARK
HOTSTUFF_LOG_INFO("send new cmd %.10s",
get_hex(cmd->get_hash()).c_str());