From 8c1ea4a61d4aa8c1f1fc6e3b5c201b79939b5b4d Mon Sep 17 00:00:00 2001 From: Andras Slemmer Date: Mon, 4 Jun 2018 17:03:10 +0100 Subject: [PATCH] Fix test --- .../tutorial/flowstatemachines/TutorialFlowAsyncOperation.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/example-code/src/main/kotlin/net/corda/docs/tutorial/flowstatemachines/TutorialFlowAsyncOperation.kt b/docs/source/example-code/src/main/kotlin/net/corda/docs/tutorial/flowstatemachines/TutorialFlowAsyncOperation.kt index 527edd3f23..8619361485 100644 --- a/docs/source/example-code/src/main/kotlin/net/corda/docs/tutorial/flowstatemachines/TutorialFlowAsyncOperation.kt +++ b/docs/source/example-code/src/main/kotlin/net/corda/docs/tutorial/flowstatemachines/TutorialFlowAsyncOperation.kt @@ -30,7 +30,7 @@ class SummingOperationThrowing(val a: Int, val b: Int) : FlowAsyncOperation class ExampleSummingFlow : FlowLogic() { @Suspendable override fun call(): Int { - val answer = executeAsync(SummingOperationThrowing(1, 2)) + val answer = executeAsync(SummingOperation(1, 2)) return answer // hopefully 3 } }