diff options
Diffstat (limited to 'peer.cpp')
-rw-r--r-- | peer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -20,6 +20,7 @@ * Peer Network test functions. */ +#include <BlockChain.h> #include <PeerNetwork.h> using namespace std; using namespace eth; @@ -44,7 +45,8 @@ int peerTest(int argc, char** argv) remoteHost = argv[i]; } - PeerServer pn(0, listenPort); + BlockChain ch("/tmp"); + PeerServer pn(ch, 0, listenPort); if (!remoteHost.empty()) pn.connect(remoteHost, remotePort); |