No memsize increase on 0.
This commit is contained in:
Gav Wood 2014-09-03 21:06:36 +02:00
parent 3e288da60f
commit 60458e3fd9

View File

@ -22,7 +22,7 @@
#include <chrono> #include <chrono>
#include <thread> #include <thread>
#include <libp2p/PeerHost.h> #include <libp2p/Host.h>
using namespace std; using namespace std;
using namespace eth; using namespace eth;
using namespace p2p; using namespace p2p;
@ -46,7 +46,7 @@ int peerTest(int argc, char** argv)
remoteHost = argv[i]; remoteHost = argv[i];
} }
PeerHost ph("Test", listenPort); Host ph("Test", listenPort);
if (!remoteHost.empty()) if (!remoteHost.empty())
ph.connect(remoteHost, remotePort); ph.connect(remoteHost, remotePort);