mirror of
https://github.com/corda/corda.git
synced 2025-05-02 00:39:53 +00:00
Update tutorial to match new template structure.
This commit is contained in:
parent
2309151bf1
commit
13843f1cae
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user