mirror of
https://github.com/corda/corda.git
synced 2025-02-06 02:59:15 +00:00
Update tutorial to match new template structure.
This commit is contained in:
parent
dca58f6810
commit
cab3fa8291
@ -38,7 +38,7 @@ class IOUFlow(val iouValue: Int,
|
|||||||
|
|
||||||
// We create the transaction components.
|
// We create the transaction components.
|
||||||
val outputState = IOUState(iouValue, ourIdentity, otherParty)
|
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))
|
val cmd = Command(IOUContract.Create(), listOf(ourIdentity.owningKey, otherParty.owningKey))
|
||||||
|
|
||||||
// We add the items to the builder.
|
// We add the items to the builder.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user