Throw an error if zcash.conf is missing
An empty zcash.conf is sufficient to bypass this error.
This commit is contained in:
@@ -534,7 +534,7 @@ void ReadConfigFile(map<string, string>& mapSettingsRet,
|
||||
{
|
||||
boost::filesystem::ifstream streamConfig(GetConfigFile());
|
||||
if (!streamConfig.good())
|
||||
return; // No zcash.conf file is OK
|
||||
throw missing_zcash_conf();
|
||||
|
||||
set<string> setOptions;
|
||||
setOptions.insert("*");
|
||||
|
||||
Reference in New Issue
Block a user