From cab3fa8291a88f88a2127fce2f72fc8226e07719 Mon Sep 17 00:00:00 2001 From: Joel Dudley Date: Mon, 22 Oct 2018 08:04:03 +0200 Subject: [PATCH] Update tutorial to match new template structure. --- .../src/main/kotlin/net/corda/docs/tutorial/twoparty/flow.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/example-code/src/main/kotlin/net/corda/docs/tutorial/twoparty/flow.kt b/docs/source/example-code/src/main/kotlin/net/corda/docs/tutorial/twoparty/flow.kt index dc4825c1b1..b4989fc7ac 100644 --- a/docs/source/example-code/src/main/kotlin/net/corda/docs/tutorial/twoparty/flow.kt +++ b/docs/source/example-code/src/main/kotlin/net/corda/docs/tutorial/twoparty/flow.kt @@ -38,7 +38,7 @@ class IOUFlow(val iouValue: Int, // We create the transaction components. val outputState = IOUState(iouValue, ourIdentity, otherParty) - val outputContractAndState = StateAndContract(outputState, IOU_CONTRACT_ID) + val outputContractAndState = StateAndContract(outputState, IOUContract.ID) val cmd = Command(IOUContract.Create(), listOf(ourIdentity.owningKey, otherParty.owningKey)) // We add the items to the builder. @@ -60,4 +60,4 @@ class IOUFlow(val iouValue: Int, subFlow(FinalityFlow(fullySignedTx)) // DOCEND 02 } -} \ No newline at end of file +}