mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-27 04:01:24 +00:00
Added extra check for topOnly mode.
This commit is contained in:
@@ -508,6 +508,9 @@ public class Settings {
|
|||||||
if (this.minBlockchainPeers < 1 && !singleNodeTestnet)
|
if (this.minBlockchainPeers < 1 && !singleNodeTestnet)
|
||||||
throwValidationError("minBlockchainPeers must be at least 1");
|
throwValidationError("minBlockchainPeers must be at least 1");
|
||||||
|
|
||||||
|
if (this.topOnly)
|
||||||
|
throwValidationError("topOnly mode is no longer supported");
|
||||||
|
|
||||||
if (this.apiKey != null && this.apiKey.trim().length() < 8)
|
if (this.apiKey != null && this.apiKey.trim().length() < 8)
|
||||||
throwValidationError("apiKey must be at least 8 characters");
|
throwValidationError("apiKey must be at least 8 characters");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user