mirror of
https://github.com/corda/corda.git
synced 2025-06-04 08:30:52 +00:00
Fix notary demo. (#1577)
This commit is contained in:
parent
80b3411fa5
commit
b1d1d74d6e
@ -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) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user