From fd0a7c4da635b09e1a276f9b83a93d582b0ce9ed Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Sun, 20 May 2018 17:03:24 +0300 Subject: [PATCH] Updated contactmanager.cpp --- src/contactmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/contactmanager.cpp b/src/contactmanager.cpp index 64baeaa..b4b361a 100644 --- a/src/contactmanager.cpp +++ b/src/contactmanager.cpp @@ -3,8 +3,8 @@ ContactManager::sendPing(QHostAddress ip) { json ping; - ping["peerID"] = QHostAddress::AnyIPv6.toString(); + ping["peerID"] = QHostAddress::AnyIPv6; ping["action"] = "ping"; QString str = ping.dump(); - send(str, ip); + Network::send(str, ip); }