aboutsummaryrefslogtreecommitdiffstats
path: root/peer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'peer.cpp')
-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();
}