diff --git a/workflows/src/main/java/com/r3/developers/csdetemplate/utxoexample/workflows/FinalizeChatResponderFlow.java b/workflows/src/main/java/com/r3/developers/csdetemplate/utxoexample/workflows/FinalizeChatResponderFlow.java index 0cb2f3d..7842855 100644 --- a/workflows/src/main/java/com/r3/developers/csdetemplate/utxoexample/workflows/FinalizeChatResponderFlow.java +++ b/workflows/src/main/java/com/r3/developers/csdetemplate/utxoexample/workflows/FinalizeChatResponderFlow.java @@ -47,7 +47,7 @@ public void call(FlowSession session) { log.info("Verified the transaction - " + ledgerTransaction.getId()); }; - // Calls receiveFinality() function which provides the responder to the finalise() function + // Calls receiveFinality() function which provides the responder to the finalize() function // in the Initiating Flow. Accepts a lambda validator containing the business logic to decide whether // responder should sign the Transaction. UtxoSignedTransaction finalizedSignedTransaction = utxoLedgerService.receiveFinality(session, txValidator).getTransaction(); diff --git a/workflows/src/main/java/com/r3/developers/csdetemplate/utxoexample/workflows/FinalizeChatSubFlow.java b/workflows/src/main/java/com/r3/developers/csdetemplate/utxoexample/workflows/FinalizeChatSubFlow.java index b6b17f9..30fcc75 100644 --- a/workflows/src/main/java/com/r3/developers/csdetemplate/utxoexample/workflows/FinalizeChatSubFlow.java +++ b/workflows/src/main/java/com/r3/developers/csdetemplate/utxoexample/workflows/FinalizeChatSubFlow.java @@ -44,7 +44,7 @@ public String call() { // Initiates a session with the other Member. FlowSession session = flowMessaging.initiateFlow(otherMember); - // Calls the Corda provided finalise() function which gather signatures from the counterparty, + // Calls the Corda provided finalize() function which gather signatures from the counterparty, // notarises the transaction and persists the transaction to each party's vault. // On success returns the id of the transaction created. (This is different to the ChatState id) String result;