Compilation fixes after OS merged.

This commit is contained in:
Viktor Kolomeyko 2018-05-10 15:49:22 +01:00
parent 355c65ad62
commit e0dfe7a75a
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ import net.corda.sample.businessnetwork.membership.flow.ObtainMembershipListCont
class MembershipListModel {
private val proxy by observableValue(NodeMonitorModel::proxyObservable)
private val members = proxy.map { it?.startFlow(::ObtainMembershipListContentFlow, IOUFlow.allowedMembershipName)?.returnValue?.getOrThrow() }
private val members = proxy.map { it?.cordaRPCOps?.startFlow(::ObtainMembershipListContentFlow, IOUFlow.allowedMembershipName)?.returnValue?.getOrThrow() }
private val observableValueOfParties = members.map {
FXCollections.observableList(it?.toList() ?: emptyList<AbstractParty>())
}

View File

@ -71,7 +71,7 @@ class TransactionViewer : CordaView("Transactions") {
private var scrollPosition: Int = 0
private lateinit var expander: ExpanderColumn<TransactionViewer.Transaction>
private var txIdToScroll: SecureHash? = null // Passed as param.
var txIdToScroll: SecureHash? = null // Passed as param.
/**
* This is what holds data for a single transaction node. Note how a lot of these are nullable as we often simply don't

View File

@ -81,7 +81,7 @@ class NewTransaction : Fragment() {
initOwner(window)
show()
}
val handle: FlowHandle<SignedTransaction> = rpcProxy.value!!.startFlow(::IOUFlow, request.first, request.second)
val handle: FlowHandle<SignedTransaction> = rpcProxy.value!!.cordaRPCOps.startFlow(::IOUFlow, request.first, request.second)
runAsync {
try {
handle.returnValue.getOrThrow()