silly fix

This commit is contained in:
djmil 2023-11-28 23:05:51 +01:00
parent 1ce96448db
commit 1cb0a45e51
2 changed files with 4 additions and 4 deletions

View File

@ -58,11 +58,10 @@ public class CommitTrx implements SubFlow<SecureHash> {
* notarises the transaction and persists the transaction to each party's vault. * notarises the transaction and persists the transaction to each party's vault.
*/ */
final FlowSession counterpartySession = flowMessaging.initiateFlow(this.counterpartyName); FlowSession counterpartySession = flowMessaging.initiateFlow(this.counterpartyName);
FlowSession custodySession = (this.custodyName != null) ? flowMessaging.initiateFlow(this.custodyName) : null;
List<FlowSession> sessionsList = (this.custodyName != null) List<FlowSession> sessionsList = Arrays.asList(counterpartySession, custodySession);
? Arrays.asList(counterpartySession, flowMessaging.initiateFlow(this.custodyName))
: Arrays.asList(counterpartySession);
System.out.println("sessionsList size " + sessionsList.size()); System.out.println("sessionsList size " + sessionsList.size());

View File

@ -56,6 +56,7 @@ public class CommitTrxResponder implements ResponderFlow {
} catch (Exception e) { } catch (Exception e) {
// Log Corda's specific message about finality validation failure // Log Corda's specific message about finality validation failure
log.warn("Exceptionally finished responder flow", e); log.warn("Exceptionally finished responder flow", e);
log.warn("Values. session: " + session + " utxoLedgerService: "+ utxoLedgerService );
} }
} }