mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Repot.
No memsize increase on 0.
This commit is contained in:
parent
3e288da60f
commit
60458e3fd9
4
peer.cpp
4
peer.cpp
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user