From c9153cc9351a79256bc987c3f4df87041bee4bc4 Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 13 Sep 2018 19:24:37 -0400 Subject: ... --- salticidae | 2 +- src/hotstuff_client.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/salticidae b/salticidae index f40ee92..0eea9dd 160000 --- a/salticidae +++ b/salticidae @@ -1 +1 @@ -Subproject commit f40ee925f06587399e3a1b755ede2ea87a7cc67f +Subproject commit 0eea9ddc7cfb2820295dd87aed3dc911a100ecde 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()); -- cgit v1.2.3-70-g09d2