corda / net.corda.core.identity / excludeNotary

excludeNotary

fun <T> excludeNotary(map: Map<Party, T>, stx: SignedTransaction): Map<Party, T>

Remove the Party associated with the notary of a SignedTransaction from the a map of Partys. It is a no-op if the notary is null.

Return
a new copy of the map, with the well known Party for the notary removed.