From 14afb04fa0f9b0f4d51dc4537f8dddb3e0c59b80 Mon Sep 17 00:00:00 2001 From: Alberto Arri Date: Fri, 11 Aug 2017 10:28:52 +0100 Subject: [PATCH] revert old committed change --- docs/source/hello-world-state.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/hello-world-state.rst b/docs/source/hello-world-state.rst index 3888d07ee9..b677366a08 100644 --- a/docs/source/hello-world-state.rst +++ b/docs/source/hello-world-state.rst @@ -78,8 +78,8 @@ define an ``IOUState``: class IOUState(val value: Int, val lender: Party, - val borrower: Party, - override val contract: TemplateContract) : ContractState { + val borrower: Party) : ContractState { + override val contract: IOUContract = IOUContract() override val participants get() = listOf(lender, borrower) } @@ -153,4 +153,4 @@ We've defined an ``IOUState`` that can be used to represent IOUs as shared facts Corda are simply JVM classes that implement the ``ContractState`` interface. They can have any additional properties and methods you like. -Next, we'll be writing our ``IOUContract`` to control the evolution of these shared facts over time. +Next, we'll be writing our ``IOUContract`` to control the evolution of these shared facts over time. \ No newline at end of file