aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-02-16 05:16:51 +0800
committerGav Wood <i@gavwood.com>2014-02-16 05:16:51 +0800
commit769e108bc284dcdc812468f5f79f53eb2e120752 (patch)
tree1dfa0669e1106fe6f89f5bbae33314bb998b2af9
parentc02764528009a61d399aceafac22bccdd8480e60 (diff)
downloaddexon-solidity-769e108bc284dcdc812468f5f79f53eb2e120752.tar.gz
dexon-solidity-769e108bc284dcdc812468f5f79f53eb2e120752.tar.zst
dexon-solidity-769e108bc284dcdc812468f5f79f53eb2e120752.zip
Less hangy.
-rw-r--r--peer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.cpp b/peer.cpp
index c2d1de17..879c32b0 100644
--- a/peer.cpp
+++ b/peer.cpp
@@ -56,7 +56,7 @@ int peerTest(int argc, char** argv)
for (int i = 0; ; ++i)
{
this_thread::sleep_for(chrono::milliseconds(100));
- pn.process(ch);
+ pn.sync();
if (!(i % 10))
pn.pingAll();
}