Skip to content

Commit 9203308

Browse files
Added projection for checkSufficientSessions to map anonymous parties to well-known parties.
1 parent d593601 commit 9203308

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

onixlabs-corda-core-workflow/src/main/kotlin/io/onixlabs/corda/core/workflow/Extensions.FlowLogic.Sessions.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ fun FlowLogic<*>.checkSufficientSessions(
116116
*
117117
* @param sessions The flow sessions that have been provided to the flow.
118118
* @param states The states that will be used as input or output states in a transaction.
119+
* @param partyProjection Provides a mechanism to project, or resolve anonymous to well-known identities.
119120
* @throws FlowException if a required counter-party session is missing for a state participant.
120121
*/
121122
@Suspendable
@@ -129,6 +130,7 @@ fun FlowLogic<*>.checkSufficientSessions(
129130
*
130131
* @param sessions The flow sessions that have been provided to the flow.
131132
* @param transaction The transaction for which to check that sufficient flow sessions exist.
133+
* @param partyProjection Provides a mechanism to project, or resolve anonymous to well-known identities.
132134
* @throws FlowException if a required counter-party session is missing for a state participant.
133135
*/
134136
@Suspendable

0 commit comments

Comments
 (0)