forked from Qortal/qortal
Added extra check for topOnly mode.
This commit is contained in:
parent
2cc5b90306
commit
a8d92805f9
@ -508,6 +508,9 @@ public class Settings {
|
||||
if (this.minBlockchainPeers < 1 && !singleNodeTestnet)
|
||||
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)
|
||||
throwValidationError("apiKey must be at least 8 characters");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user