Merge pull request 'change key check to warning' (#390) from wowario/wownero:pass into dev-v0.10

Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/390
This commit is contained in:
wowario 2021-06-19 05:21:55 +00:00
commit 879ba26fbe

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");