Update tutorial to match new template structure.

This commit is contained in:
Joel Dudley 2018-10-22 08:04:03 +02:00 committed by GitHub
parent dca58f6810
commit cab3fa8291
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ class IOUFlow(val iouValue: Int,
// We create the transaction components.
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))
// We add the items to the builder.
@ -60,4 +60,4 @@ class IOUFlow(val iouValue: Int,
subFlow(FinalityFlow(fullySignedTx))
// DOCEND 02
}
}
}