From f4ddf6eada6d5af312e98a5317067101111502c6 Mon Sep 17 00:00:00 2001 From: Alberto Arri Date: Fri, 11 Aug 2017 14:30:48 +0100 Subject: [PATCH] Fixed another wrong signature for withNewOwner --- docs/source/api-states.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/api-states.rst b/docs/source/api-states.rst index c1c0befbe7..de12ffbf7d 100644 --- a/docs/source/api-states.rst +++ b/docs/source/api-states.rst @@ -109,7 +109,7 @@ Where: * ``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. -* ``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 ^^^^^^^^^^^^^^^^ @@ -150,4 +150,4 @@ Where: * ``data`` is the state to be stored on-ledger * ``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 - state \ No newline at end of file + state