mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-22 20:26:50 +00:00
Delete all known peers when creating a bootstrap
This commit is contained in:
@@ -248,6 +248,10 @@ public class Bootstrap {
|
||||
|
||||
repository.saveChanges();
|
||||
|
||||
LOGGER.info("Deleting peers list...");
|
||||
repository.getNetworkRepository().deleteAllPeers();
|
||||
repository.saveChanges();
|
||||
|
||||
LOGGER.info("Creating bootstrap...");
|
||||
// Timeout if the database isn't ready for backing up after 10 seconds
|
||||
long timeout = 10 * 1000L;
|
||||
|
Reference in New Issue
Block a user