mirror of
https://github.com/corda/corda.git
synced 2025-01-31 00:24:59 +00:00
ed2fe13436
* CORDA-2629: Provide a better error msg when notary type misconfig If a notary service is misconfigured with the type (either validating or not validating) stored in the node's configuration not matching that advertised in the network map cache, the notary will throw an exception and fail on startup. Previously, this misconfiguration would result in an exception being thrown when attempting to notarise a transaction. This change results in the exception being thrown at node startup and the node operator being aware of the misconfiguration earlier. * Corrected exception message when the notary does not have a party * Changed exception message to include configured and advertised values. Fixed unit test that was failing because of the new check.