aboutsummaryrefslogtreecommitdiff
path: root/test/test_p2p.cpp
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-06-28 17:37:10 -0400
committerDeterminant <[email protected]>2019-06-28 17:37:10 -0400
commitb8bdd8237ca51439995e1990bbc4f39f8a96fbfe (patch)
tree8ff892ceec9a02111f27b9a3fee1928027943aa6 /test/test_p2p.cpp
parentfedfeaced48150e27907628244e95ca54dbe7c02 (diff)
...
Diffstat (limited to 'test/test_p2p.cpp')
-rw-r--r--test/test_p2p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_p2p.cpp b/test/test_p2p.cpp
index 5fc930a..3a30ed2 100644
--- a/test/test_p2p.cpp
+++ b/test/test_p2p.cpp
@@ -93,7 +93,7 @@ struct Net {
connected ? "connected to" : "disconnected from",
std::string(conn->get_peer_addr()).c_str());
});
- net->reg_unknown_peer_handler([this](const NetAddr &claimed_addr) {
+ net->reg_unknown_peer_handler([this](const NetAddr &claimed_addr, const salticidae::X509 *) {
fprintf(stdout, "net %lu: unknown peer %s attempts to connnect\n",
this->id, std::string(claimed_addr).c_str());
});