mirror of
https://github.com/corda/corda.git
synced 2025-06-14 13:18:18 +00:00
Fix test
This commit is contained in:
@ -30,7 +30,7 @@ class SummingOperationThrowing(val a: Int, val b: Int) : FlowAsyncOperation<Int>
|
|||||||
class ExampleSummingFlow : FlowLogic<Int>() {
|
class ExampleSummingFlow : FlowLogic<Int>() {
|
||||||
@Suspendable
|
@Suspendable
|
||||||
override fun call(): Int {
|
override fun call(): Int {
|
||||||
val answer = executeAsync(SummingOperationThrowing(1, 2))
|
val answer = executeAsync(SummingOperation(1, 2))
|
||||||
return answer // hopefully 3
|
return answer // hopefully 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user