aboutsummaryrefslogtreecommitdiff
path: root/src/hotstuff_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hotstuff_client.cpp')
-rw-r--r--src/hotstuff_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hotstuff_client.cpp b/src/hotstuff_client.cpp
index 2c8b738..08f2a2e 100644
--- a/src/hotstuff_client.cpp
+++ b/src/hotstuff_client.cpp
@@ -68,7 +68,7 @@ Net mn(ec, Net::Config());
void connect_all() {
for (size_t i = 0; i < replicas.size(); i++)
- conns.insert(std::make_pair(i, mn.connect(replicas[i])));
+ conns.insert(std::make_pair(i, mn.connect_sync(replicas[i])));
}
bool try_send(bool check = true) {