Shorten system property name.

This commit is contained in:
josecoll 2019-02-14 15:40:14 +00:00 committed by Mike Hearn
parent e0c23c6996
commit 4feac7f3f0
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ class Verifier(val ltx: LedgerTransaction,
companion object { companion object {
private val logger = contextLogger() private val logger = contextLogger()
private val disableHashConstraints = System.getProperty("net.corda.node.internal.Verifier.disableHashConstraints")?.toBoolean() ?: false private val disableHashConstraints = System.getProperty("net.corda.node.disableHashConstraints")?.toBoolean() ?: false
} }
/** /**

View File

@ -177,7 +177,7 @@ open class NodeStartup : NodeStartupLogging {
logger.info("The Corda node is running in production mode. If this is a developer environment you can set 'devMode=true' in the node.conf file.") logger.info("The Corda node is running in production mode. If this is a developer environment you can set 'devMode=true' in the node.conf file.")
} }
val disableHashConstraints = System.getProperty("net.corda.node.internal.Verifier.disableHashConstraints")?.toBoolean() ?: false val disableHashConstraints = System.getProperty("net.corda.node.disableHashConstraints")?.toBoolean() ?: false
if (disableHashConstraints) { if (disableHashConstraints) {
Node.printWarning("Hash constraints checking has been disabled by the node operator.") Node.printWarning("Hash constraints checking has been disabled by the node operator.")
} }