Update tutorial to match new template structure.

This commit is contained in:
Joel Dudley 2018-10-22 08:05:18 +02:00 committed by GitHub
parent 2309151bf1
commit 13843f1cae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ class IOUFlow(val iouValue: Int,
// We create a transaction builder and add the components.
val txBuilder = TransactionBuilder(notary = notary)
.addOutputState(outputState, TEMPLATE_CONTRACT_ID)
.addOutputState(outputState, TemplateContract.ID)
.addCommand(cmd)
// We sign the transaction.
@ -44,4 +44,4 @@ class IOUFlow(val iouValue: Int,
subFlow(FinalityFlow(signedTx))
}
}
// DOCEND 01
// DOCEND 01