aboutsummaryrefslogtreecommitdiffstats
path: root/peer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'peer.cpp')
-rw-r--r--peer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/peer.cpp b/peer.cpp
index 14bf790e..5a440a88 100644
--- a/peer.cpp
+++ b/peer.cpp
@@ -46,7 +46,7 @@ int peerTest(int argc, char** argv)
}
BlockChain ch("/tmp");
- PeerServer pn(ch, 0, listenPort);
+ PeerServer pn("Test", ch, 0, listenPort);
if (!remoteHost.empty())
pn.connect(remoteHost, remotePort);
@@ -54,7 +54,7 @@ int peerTest(int argc, char** argv)
for (int i = 0; ; ++i)
{
usleep(100000);
- pn.process();
+ pn.process(ch);
if (!(i % 10))
pn.pingAll();
}