Release 0.77.0
Handle when Corda node has multiple legal identities
The Corda GenericContractHandler
would assume that each node would only be associated with exactly one Party
(i.e. its NodeInfo.legalIdentities
would have only one element) and crash in cases where there were 0 or >1.
In case of running a notary in high-availability mode as described here Notary service overview there will be multiple legal identities for the notary node.
When constructing the map Map<String, Party>
, the contract-handler now includes all legal identities of each node in the map.