Fixed another wrong signature for withNewOwner

This commit is contained in:
Alberto Arri 2017-08-11 14:30:48 +01:00
parent bd5a366c77
commit f4ddf6eada

View File

@ -109,7 +109,7 @@ Where:
* ``OwnableState`` also override the default behavior of the vault's relevancy check. The default vault * ``OwnableState`` also override the default behavior of the vault's relevancy check. The default vault
implementation will track any ``OwnableState`` of which it is the owner. implementation will track any ``OwnableState`` of which it is the owner.
* ``withNewOwner(newOwner: PublicKey)`` creates an identical copy of the state, only with a new owner * ``withNewOwner(newOwner: AbstractParty)`` creates an identical copy of the state, only with a new owner
Other interfaces Other interfaces
^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
@ -150,4 +150,4 @@ Where:
* ``data`` is the state to be stored on-ledger * ``data`` is the state to be stored on-ledger
* ``notary`` is the notary service for this state * ``notary`` is the notary service for this state
* ``encumbrance`` points to another state that must also appear as an input to any transaction consuming this * ``encumbrance`` points to another state that must also appear as an input to any transaction consuming this
state state