Skip to content

Commit

Permalink
Improved hints
Browse files Browse the repository at this point in the history
  • Loading branch information
amoothart committed Jan 24, 2018
1 parent 2e566f5 commit 3097ab8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/net/corda/training/state/IOUState.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ data class IOUState(val amount: Amount<Currency>,
* This property holds a list of the nodes which can "use" this state in a valid transaction. In this case, the
* lender or the borrower.
*/
override val participants get() = listOf(lender, borrower)
override val participants: List<Party> get() = listOf(lender, borrower)

/**
* A toString() helper method for displaying IOUs in the console.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ class IOUIssueFlowTests {
* Hint:
* On the Initiator side:
* - Get a set of signers required from the participants who are not the node
* - - [ourIdentity] will give you the identity of the node you are operating as
* - Use [initateFlow] to get a set of [FlowSession] objects
* - - Using [state.participants] as a base to determine the sessions needed is recommended. [participants] is on
* - - the state interface so it is guaranteed to to exist where [lender] and [borrower] are not.
Expand Down

0 comments on commit 3097ab8

Please sign in to comment.