From f504dcd94d791a17d4858b7535ea8d33d641f97f Mon Sep 17 00:00:00 2001 From: Adel El-Beik Date: Mon, 12 Aug 2024 14:02:34 +0100 Subject: [PATCH] ENT-12072: Now check network parameters hash after ResolveTrasactionsFlow. --- .../main/kotlin/net/corda/core/flows/ReceiveTransactionFlow.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/kotlin/net/corda/core/flows/ReceiveTransactionFlow.kt b/core/src/main/kotlin/net/corda/core/flows/ReceiveTransactionFlow.kt index 413f01db3f..dd49cf21bd 100644 --- a/core/src/main/kotlin/net/corda/core/flows/ReceiveTransactionFlow.kt +++ b/core/src/main/kotlin/net/corda/core/flows/ReceiveTransactionFlow.kt @@ -46,8 +46,8 @@ open class ReceiveTransactionFlow @JvmOverloads constructor(private val otherSid val stx = otherSideSession.receive().unwrap { it.pushToLoggingContext() logger.info("Received transaction acknowledgement request from party ${otherSideSession.counterparty}.") - checkParameterHash(it.networkParametersHash) subFlow(ResolveTransactionsFlow(it, otherSideSession, statesToRecord)) + checkParameterHash(it.networkParametersHash) logger.info("Transaction dependencies resolution completed.") try { it.verify(serviceHub, checkSufficientSignatures)