diff options
Diffstat (limited to 'src/network.cpp')
-rw-r--r-- | src/network.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network.cpp b/src/network.cpp index adcac99..78f653b 100644 --- a/src/network.cpp +++ b/src/network.cpp @@ -262,8 +262,8 @@ void peernetwork_reg_peer_handler(peernetwork_t *self, void peernetwork_reg_unknown_peer_handler(peernetwork_t *self, peernetwork_unknown_peer_callback_t cb, void *userdata) { - self->reg_unknown_peer_handler([=](const NetAddr &claimed_addr) { - cb(&claimed_addr, userdata); + self->reg_unknown_peer_handler([=](const NetAddr &claimed_addr, const salticidae::X509 *cert) { + cb(&claimed_addr, cert, userdata); }); } |