Updated contactmanager.cpp

This commit is contained in:
Denis Davydov 2018-05-20 17:03:24 +03:00
parent 18ad8c2dd4
commit fd0a7c4da6

View File

@ -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);
}