Skip to content

Commit

Permalink
Add BelongsToContract for network verifier state (corda#4431)
Browse files Browse the repository at this point in the history
  • Loading branch information
vstoykov authored and vkolomeyko committed Dec 18, 2018
1 parent 17e7a3a commit 86b0e71
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package net.corda.verification

import co.paralleluniverse.fibers.Suspendable
import net.corda.core.contracts.BelongsToContract
import net.corda.core.contracts.CommandData
import net.corda.core.contracts.Contract
import net.corda.core.contracts.ContractState
Expand Down Expand Up @@ -62,6 +63,7 @@ class TestCommsFlowResponder(private val otherSideSession: FlowSession) : FlowLo
}

@CordaSerializable
@BelongsToContract(CommsTestContract::class)
data class CommsTestState(val responses: List<String>, val issuer: AbstractParty) : ContractState {
override val participants: List<AbstractParty>
get() = listOf(issuer)
Expand Down

0 comments on commit 86b0e71

Please sign in to comment.