mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
Shorten system property name.
This commit is contained in:
parent
e0c23c6996
commit
4feac7f3f0
@ -36,7 +36,7 @@ class Verifier(val ltx: LedgerTransaction,
|
||||
|
||||
companion object {
|
||||
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
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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.")
|
||||
}
|
||||
|
||||
val disableHashConstraints = System.getProperty("net.corda.node.internal.Verifier.disableHashConstraints")?.toBoolean() ?: false
|
||||
val disableHashConstraints = System.getProperty("net.corda.node.disableHashConstraints")?.toBoolean() ?: false
|
||||
if (disableHashConstraints) {
|
||||
Node.printWarning("Hash constraints checking has been disabled by the node operator.")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user