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);
qCDebug(entities) << "ZRF FIXME" << doc.toJson(QJsonDocument::Compact);
// ZRF FIXME!!!
//if (networkReply->error() == QNetworkReply::NoError) {
if (true) {
if (networkReply->error() == QNetworkReply::NoError) {
// ZRF FIXME!!!
//if (jsonObject["location"].toString() != thisDomainID) {
if (false) {

View file

@ -1249,7 +1249,7 @@ void EntityTree::validatePop(const QString& certID, const EntityItemID& entityIt
} else {
// Second, challenge ownership of the PoP cert
// 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);
if (encryptedText == "") {