Fix notary demo. (#1577)

This commit is contained in:
Andrzej Cichocki 2017-09-21 13:30:29 +01:00 committed by josecoll
parent 80b3411fa5
commit b1d1d74d6e

View File

@ -14,8 +14,11 @@ import net.corda.core.transactions.TransactionBuilder
@StartableByRPC @StartableByRPC
class DummyIssueAndMove(private val notary: Party, private val counterpartyNode: Party, private val discriminator: Int) : FlowLogic<SignedTransaction>() { class DummyIssueAndMove(private val notary: Party, private val counterpartyNode: Party, private val discriminator: Int) : FlowLogic<SignedTransaction>() {
val DO_NOTHING_PROGRAM_ID = "net.corda.notarydemo.flows.DummyIssueAndMove.DoNothingContract" companion object {
object DoNothingContract : Contract { private val DO_NOTHING_PROGRAM_ID = "net.corda.notarydemo.flows.DummyIssueAndMove\$DoNothingContract"
}
class DoNothingContract : Contract {
override fun verify(tx: LedgerTransaction) {} override fun verify(tx: LedgerTransaction) {}
} }