updates: s/monerod/monero/ for the main download

Also print download success message as global log
pull/95/head
moneromooo-monero 7 years ago
parent 6a5dfb88d2
commit 9f17b1a30f
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -1088,7 +1088,7 @@ namespace cryptonote
//----------------------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------------------
bool core::check_updates() bool core::check_updates()
{ {
static const char software[] = "monerod"; static const char software[] = "monero";
static const char subdir[] = "cli"; // because it can never be simple static const char subdir[] = "cli"; // because it can never be simple
#ifdef BUILD_TAG #ifdef BUILD_TAG
static const char buildtag[] = BOOST_PP_STRINGIZE(BUILD_TAG); static const char buildtag[] = BOOST_PP_STRINGIZE(BUILD_TAG);
@ -1141,7 +1141,7 @@ namespace cryptonote
MCERROR("updates", "Download from " << url << " does not match the expected hash"); MCERROR("updates", "Download from " << url << " does not match the expected hash");
return false; return false;
} }
MCINFO("updates", "New version downloaded to " << path); MGINFO("New version downloaded to " << path);
} }
else else
{ {

Loading…
Cancel
Save