mirror of
https://github.com/corda/corda.git
synced 2025-06-23 01:19:00 +00:00
Update tutorial to match new template structure.
This commit is contained in:
@ -34,7 +34,7 @@ class IOUFlow(val iouValue: Int,
|
|||||||
|
|
||||||
// We create a transaction builder and add the components.
|
// We create a transaction builder and add the components.
|
||||||
val txBuilder = TransactionBuilder(notary = notary)
|
val txBuilder = TransactionBuilder(notary = notary)
|
||||||
.addOutputState(outputState, TEMPLATE_CONTRACT_ID)
|
.addOutputState(outputState, TemplateContract.ID)
|
||||||
.addCommand(cmd)
|
.addCommand(cmd)
|
||||||
|
|
||||||
// We sign the transaction.
|
// We sign the transaction.
|
||||||
|
Reference in New Issue
Block a user