diff --git a/tools/explorer/src/main/kotlin/net/corda/explorer/model/MembershipListModel.kt b/tools/explorer/src/main/kotlin/net/corda/explorer/model/MembershipListModel.kt index e612b142c8..42f6bbf3ea 100644 --- a/tools/explorer/src/main/kotlin/net/corda/explorer/model/MembershipListModel.kt +++ b/tools/explorer/src/main/kotlin/net/corda/explorer/model/MembershipListModel.kt @@ -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()) } diff --git a/tools/explorer/src/main/kotlin/net/corda/explorer/views/TransactionViewer.kt b/tools/explorer/src/main/kotlin/net/corda/explorer/views/TransactionViewer.kt index 6487be4ad5..f52d6c3c7c 100644 --- a/tools/explorer/src/main/kotlin/net/corda/explorer/views/TransactionViewer.kt +++ b/tools/explorer/src/main/kotlin/net/corda/explorer/views/TransactionViewer.kt @@ -71,7 +71,7 @@ class TransactionViewer : CordaView("Transactions") { private var scrollPosition: Int = 0 private lateinit var expander: ExpanderColumn - 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 diff --git a/tools/explorer/src/main/kotlin/net/corda/explorer/views/cordapps/iou/NewTransaction.kt b/tools/explorer/src/main/kotlin/net/corda/explorer/views/cordapps/iou/NewTransaction.kt index 5c882c2cd2..7068153212 100644 --- a/tools/explorer/src/main/kotlin/net/corda/explorer/views/cordapps/iou/NewTransaction.kt +++ b/tools/explorer/src/main/kotlin/net/corda/explorer/views/cordapps/iou/NewTransaction.kt @@ -81,7 +81,7 @@ class NewTransaction : Fragment() { initOwner(window) show() } - val handle: FlowHandle = rpcProxy.value!!.startFlow(::IOUFlow, request.first, request.second) + val handle: FlowHandle = rpcProxy.value!!.cordaRPCOps.startFlow(::IOUFlow, request.first, request.second) runAsync { try { handle.returnValue.getOrThrow()