Minor cleanup

This commit is contained in:
Zach Fox 2017-10-11 13:26:32 -07:00
parent 1aaf1a19cd
commit d8b84e6875
2 changed files with 2 additions and 4 deletions

View file

@ -483,9 +483,7 @@ void EntityServer::startDynamicDomainVerification() {
QJsonDocument doc(jsonObject); QJsonDocument doc(jsonObject);
qCDebug(entities) << "ZRF FIXME" << doc.toJson(QJsonDocument::Compact); qCDebug(entities) << "ZRF FIXME" << doc.toJson(QJsonDocument::Compact);
// ZRF FIXME!!! if (networkReply->error() == QNetworkReply::NoError) {
//if (networkReply->error() == QNetworkReply::NoError) {
if (true) {
// ZRF FIXME!!! // ZRF FIXME!!!
//if (jsonObject["location"].toString() != thisDomainID) { //if (jsonObject["location"].toString() != thisDomainID) {
if (false) { if (false) {

View file

@ -1249,7 +1249,7 @@ void EntityTree::validatePop(const QString& certID, const EntityItemID& entityIt
} else { } else {
// Second, challenge ownership of the PoP cert // Second, challenge ownership of the PoP cert
// 1. Encrypt a nonce with the owner's public key // 1. Encrypt a nonce with the owner's public key
QString ownerKey(jsonObject["owner_public_key"].toString()); QString ownerKey(jsonObject["transfer_recipient_key"].toString());
QString encryptedText = computeEncryptedNonce(certID, ownerKey); QString encryptedText = computeEncryptedNonce(certID, ownerKey);
if (encryptedText == "") { if (encryptedText == "") {