Skip to content

Commit

Permalink
Use outdated nodes, need to make it not that strict
Browse files Browse the repository at this point in the history
  • Loading branch information
aivve committed Jan 2, 2022
1 parent cb2c37d commit 6fa4a06
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/CryptoNoteWrapper/CryptoNoteAdapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -577,10 +577,13 @@ bool CryptoNoteAdapter::isNodeAvailable(QUrl _node) {
Version nodeVersion = ver;
if(nodeVersion < neededVersion) {
WalletLogger::info(tr("[CryptoNote wrapper] Remote node %1:%2 version %3 is outdated.").arg(_node.host()).arg(_node.port()).arg(QString::fromStdString(res.version)));
return false;
//return false;
}
else {
WalletLogger::info(tr("[CryptoNote wrapper] Remote node %1:%2 version %3 is OK").arg(_node.host()).arg(_node.port()).arg(QString::fromStdString(res.version)));
}
}
WalletLogger::info(tr("[CryptoNote wrapper] Remote node %1:%2 version %3 is OK").arg(_node.host()).arg(_node.port()).arg(QString::fromStdString(res.version)));

return true;
}
}
Expand Down

0 comments on commit 6fa4a06

Please sign in to comment.