From 08ae295281f5309a2719c82808d85f370966d2ba Mon Sep 17 00:00:00 2001 From: Saurabh1313 Date: Thu, 5 Oct 2023 21:34:05 +0530 Subject: [PATCH] solving the issue #48 --- .../utxoexample/workflows/FinalizeChatResponderFlow.java | 2 +- .../csdetemplate/utxoexample/workflows/FinalizeChatSubFlow.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;