mirror of
https://github.com/corda/corda.git
synced 2025-06-17 06:38:21 +00:00
Demote quasar-core to a runtime dependency, and capsule to "compileOnly". (#1381)
This commit is contained in:
@ -30,8 +30,10 @@ class FlowVersioningTest : NodeBasedTest() {
|
||||
private class PretendInitiatingCoreFlow(val initiatedParty: Party) : FlowLogic<Pair<Int, Int>>() {
|
||||
@Suspendable
|
||||
override fun call(): Pair<Int, Int> {
|
||||
// Execute receive() outside of the Pair constructor to avoid Kotlin/Quasar instrumentation bug.
|
||||
val alicePlatformVersionAccordingToBob = receive<Int>(initiatedParty).unwrap { it }
|
||||
return Pair(
|
||||
receive<Int>(initiatedParty).unwrap { it },
|
||||
alicePlatformVersionAccordingToBob,
|
||||
getFlowContext(initiatedParty).flowVersion
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user