mirror of
https://github.com/corda/corda.git
synced 2025-02-20 17:33:15 +00:00
Changed type from PublicKey -> AbstractParty to match fun declaration
This commit is contained in:
parent
14afb04fa0
commit
86784d36b7
@ -114,7 +114,7 @@ A state is a class that stores data that is checked by the contract. A commercia
|
||||
override val participants = listOf(owner)
|
||||
|
||||
fun withoutOwner() = copy(owner = AnonymousParty(NullPublicKey))
|
||||
override fun withNewOwner(newOwner: PublicKey) = Pair(Commands.Move(), copy(owner = newOwner))
|
||||
override fun withNewOwner(newOwner: AbstractParty) = Pair(Commands.Move(), copy(owner = newOwner))
|
||||
}
|
||||
|
||||
.. sourcecode:: java
|
||||
|
Loading…
x
Reference in New Issue
Block a user