mirror of
https://github.com/corda/corda.git
synced 2025-05-01 00:10:46 +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.
|
||||||
@ -44,4 +44,4 @@ class IOUFlow(val iouValue: Int,
|
|||||||
subFlow(FinalityFlow(signedTx))
|
subFlow(FinalityFlow(signedTx))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// DOCEND 01
|
// DOCEND 01
|
||||||
|
Loading…
x
Reference in New Issue
Block a user