mirror of
https://github.com/corda/corda.git
synced 2025-05-06 10:38:29 +00:00
Minor: made the code in IOUState match the description of the changes underneath.
This commit is contained in:
parent
5cda7e30d5
commit
1856b5905e
@ -78,8 +78,8 @@ define an ``IOUState``:
|
|||||||
|
|
||||||
class IOUState(val value: Int,
|
class IOUState(val value: Int,
|
||||||
val lender: Party,
|
val lender: Party,
|
||||||
val borrower: Party) : ContractState {
|
val borrower: Party,
|
||||||
override val contract: IOUContract = IOUContract()
|
override val contract: TemplateContract) : ContractState {
|
||||||
|
|
||||||
override val participants get() = listOf(lender, borrower)
|
override val participants get() = listOf(lender, borrower)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user