jet another silly fix
This commit is contained in:
parent
1cb0a45e51
commit
e933a97c1f
@ -58,10 +58,9 @@ public class CommitTrx implements SubFlow<SecureHash> {
|
||||
* notarises the transaction and persists the transaction to each party's vault.
|
||||
*/
|
||||
|
||||
FlowSession counterpartySession = flowMessaging.initiateFlow(this.counterpartyName);
|
||||
FlowSession custodySession = (this.custodyName != null) ? flowMessaging.initiateFlow(this.custodyName) : null;
|
||||
|
||||
List<FlowSession> sessionsList = Arrays.asList(counterpartySession, custodySession);
|
||||
List<FlowSession> sessionsList = (this.custodyName != null)
|
||||
? Arrays.asList(flowMessaging.initiateFlow(this.counterpartyName), flowMessaging.initiateFlow(this.custodyName))
|
||||
: Arrays.asList(flowMessaging.initiateFlow(this.counterpartyName);
|
||||
|
||||
System.out.println("sessionsList size " + sessionsList.size());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user