SIMM demo Ack CordaSerializable (#911)

This commit is contained in:
Konstantinos Chalkias 2017-06-23 10:44:26 +01:00 committed by GitHub
parent 5233c50098
commit 7e34d7b05a

View File

@ -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
}