mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
Updated error message to provide consistent logging (#6015)
This commit is contained in:
parent
e38cd9ec63
commit
ba68970549
@ -29,8 +29,8 @@ class NetworkParametersReader(private val trustRoot: X509Certificate,
|
||||
"parameters advertised by network map. Please update node to use correct network parameters file."
|
||||
)
|
||||
class OldParams(previousParametersHash: SecureHash, advertisedParametersHash: SecureHash) : Error(
|
||||
"Node uses parameters with hash: $previousParametersHash but network map is advertising: " +
|
||||
"$advertisedParametersHash. Please update node to use correct network parameters file."
|
||||
"""Node is using network parameters with hash $previousParametersHash but the network map is advertising $advertisedParametersHash.
|
||||
To resolve this mismatch, and move to the current parameters, delete the $NETWORK_PARAMS_FILE_NAME file from the node's directory and restart."""
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user