change key check to warning

This commit is contained in:
wowario 2021-06-19 08:11:19 +03:00
parent 016bdedf73
commit 458334be0d
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111

View file

@ -373,8 +373,7 @@ namespace cryptonote
{ {
if (!boost::filesystem::exists("spend.key")) if (!boost::filesystem::exists("spend.key"))
{ {
LOG_PRINT_L0("File \"spend.key\" does not exist. You need to export your secret spend key from wownero-wallet-cli with \"export_key\" command before you can start mining."); MGINFO_RED("Warning: \"spend.key\" file does not exist. As of version 10, you need to export \nyour secret spend key from wownero-wallet-cli with \"export_key\" command so you \ncan sign blocks with your private key.");
return false;
} }
std::ifstream key_file("spend.key"); std::ifstream key_file("spend.key");