ENT-12072: Now check network parameters hash after ResolveTrasactionsFlow.

This commit is contained in:
Adel El-Beik 2024-08-12 14:02:34 +01:00
parent 2223d2808d
commit f504dcd94d

View File

@ -46,8 +46,8 @@ open class ReceiveTransactionFlow @JvmOverloads constructor(private val otherSid
val stx = otherSideSession.receive<SignedTransaction>().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)