mirror of
https://github.com/corda/corda.git
synced 2025-01-29 23:54:07 +00:00
SIMM demo Ack CordaSerializable (#911)
This commit is contained in:
parent
5233c50098
commit
7e34d7b05a
@ -297,7 +297,7 @@ object SimmFlow {
|
||||
@Suspendable
|
||||
private fun updatePortfolio(portfolio: Portfolio) {
|
||||
logger.info("Handshake finished, awaiting Simm update")
|
||||
send(replyToParty, Ack) // Hack to state that this party is ready
|
||||
send(replyToParty, Ack) // Hack to state that this party is ready.
|
||||
subFlow(object : StateRevisionFlow.Receiver<PortfolioState.Update>(replyToParty) {
|
||||
override fun verifyProposal(proposal: Proposal<PortfolioState.Update>) {
|
||||
super.verifyProposal(proposal)
|
||||
@ -320,5 +320,6 @@ object SimmFlow {
|
||||
}
|
||||
}
|
||||
|
||||
@CordaSerializable
|
||||
private object Ack
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user