mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
ENT-12072: Now check network parameters hash after ResolveTrasactionsFlow.
This commit is contained in:
parent
2223d2808d
commit
f504dcd94d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user