diff --git a/yo-cordapp/workflows/src/main/kotlin/net/corda/examples/yo/flows/Flows.kt b/yo-cordapp/workflows/src/main/kotlin/net/corda/examples/yo/flows/Flows.kt index 2ae1515d0..441a81b85 100644 --- a/yo-cordapp/workflows/src/main/kotlin/net/corda/examples/yo/flows/Flows.kt +++ b/yo-cordapp/workflows/src/main/kotlin/net/corda/examples/yo/flows/Flows.kt @@ -42,12 +42,12 @@ class YoFlow(val target: Party) : FlowLogic() { val stateAndContract = StateAndContract(state, YoContract.ID) val utx = TransactionBuilder(notary = notary).withItems(stateAndContract, command) + progressTracker.currentStep = VERIFYING + utx.verify(serviceHub) + progressTracker.currentStep = SIGNING val stx = serviceHub.signInitialTransaction(utx) - progressTracker.currentStep = VERIFYING - stx.verify(serviceHub) - progressTracker.currentStep = FINALISING val targetSession = initiateFlow(target) return subFlow(FinalityFlow(stx, listOf(targetSession), FINALISING.childProgressTracker()))