mirror of
https://github.com/corda/corda.git
synced 2024-12-19 21:17:58 +00:00
Merging forward updates from release/os/4.11 to release/os/4.12 - 2024-08-15
This commit is contained in:
commit
5a94803222
@ -518,7 +518,8 @@ class FinalityFlowTests : WithFinality {
|
|||||||
@Suspendable
|
@Suspendable
|
||||||
override fun call() {
|
override fun call() {
|
||||||
val handleNotaryError = otherSide.receive<Boolean>().unwrap { it }
|
val handleNotaryError = otherSide.receive<Boolean>().unwrap { it }
|
||||||
subFlow(ReceiveFinalityFlow(otherSide, handlePropagatedNotaryError = handleNotaryError))
|
val stx = subFlow(ReceiveFinalityFlow(otherSide, handlePropagatedNotaryError = handleNotaryError))
|
||||||
|
stx.verify(serviceHub)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -127,6 +127,7 @@ open class ReceiveTransactionFlow constructor(private val otherSideSession: Flow
|
|||||||
(serviceHub as ServiceHubCoreInternal).finalizeTransactionWithExtraSignatures(stx, notarySignatures, statesToRecord)
|
(serviceHub as ServiceHubCoreInternal).finalizeTransactionWithExtraSignatures(stx, notarySignatures, statesToRecord)
|
||||||
logger.info("Peer finalised transaction with notary signature.")
|
logger.info("Peer finalised transaction with notary signature.")
|
||||||
}
|
}
|
||||||
|
return stx + notarySignatures
|
||||||
} catch (e: NotaryException) {
|
} catch (e: NotaryException) {
|
||||||
logger.info("Peer received notary error.")
|
logger.info("Peer received notary error.")
|
||||||
val overrideHandlePropagatedNotaryError = handlePropagatedNotaryError
|
val overrideHandlePropagatedNotaryError = handlePropagatedNotaryError
|
||||||
|
Loading…
Reference in New Issue
Block a user