Skip to content

Commit 5bf61a6

Browse files
2.0.0-rc2 - Removed commented out code.
1 parent 9167bc5 commit 5bf61a6

File tree

1 file changed

+0
-14
lines changed
  • onixlabs-corda-identity-framework-workflow/src/main/kotlin/io/onixlabs/corda/identityframework/workflow

1 file changed

+0
-14
lines changed

onixlabs-corda-identity-framework-workflow/src/main/kotlin/io/onixlabs/corda/identityframework/workflow/Extensions.FlowLogic.kt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,6 @@ import net.corda.core.transactions.SignedTransaction
2626
import net.corda.core.transactions.TransactionBuilder
2727
import java.security.PublicKey
2828

29-
///**
30-
// * Checks whether there are sufficient sessions for counter-parties of the specified contract states.
31-
// *
32-
// * @param sessions The list of available flow sessions.
33-
// * @param states The specified contract states to check.
34-
// * @throws FlowException if a flow session does not exist for a required counter-party.
35-
// */
36-
//fun FlowLogic<*>.checkHasSufficientFlowSessions(sessions: Iterable<FlowSession>, vararg states: ContractState) {
37-
// val sessionParties = sessions.map { it.counterparty }.toSet()
38-
// states.flatMap { it.participants }.toSet().filter { it !in serviceHub.myInfo.legalIdentities }.forEach {
39-
// if (it !in sessionParties) throw FlowException("A flow session is required for the specified counterparty: $it")
40-
// }
41-
//}
42-
4329
/**
4430
* Checks whether the state for the specified attestation has been witnessed by this node.
4531
*

0 commit comments

Comments
 (0)