Skip to content

Commit

Permalink
Fix conversion of PROJECT_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
aivve committed Mar 25, 2020
1 parent e705b5d commit 89dcd73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CryptoNoteWrapper/CryptoNoteAdapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,8 @@ bool CryptoNoteAdapter::isNodeAvailable(QUrl _node) {

// check if node is up-to-date
WalletLogger::info(tr("[CryptoNote wrapper] Checking remote node %1:%2 version").arg(_node.host()).arg(_node.port()));
Version neededVersion = PROJECT_VERSION;

Version neededVersion = Version(PROJECT_VERSION);
if (err.empty()) {
std::string ver = res.version;
if (!ver.empty()) {
Expand Down

0 comments on commit 89dcd73

Please sign in to comment.