mirror of
https://github.com/corda/corda.git
synced 2024-12-22 06:17:55 +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 {
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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.")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user