2
0
Эх сурвалжийг харах

Get rid of 000000000000000.mcerts junk files.

Adam Ierymenko 12 жил өмнө
parent
commit
157aba5c3f

+ 1 - 1
node/Network.cpp

@@ -251,7 +251,7 @@ void Network::clean()
 
 
 	Mutex::Lock _l(_lock);
 	Mutex::Lock _l(_lock);
 
 
-	if (_configuration.isOpen()) {
+	if ((!_id)||(_configuration.isOpen())) {
 		_membershipCertificates.clear();
 		_membershipCertificates.clear();
 		Utils::rm(mcdbPath);
 		Utils::rm(mcdbPath);
 	} else {
 	} else {