Calling CreateAccountFlow with no requests causes ExecutionException
Occurs on version 0.2.0.
If you start the CreateAccountFlow with an empty list as the first argument, you get the following ExecutionException:
Exception in thread "main" java.util.concurrent.ExecutionException: java.lang.IllegalStateException: A transaction must contain at least one input or output state
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
at net.corda.core.internal.concurrent.CordaFutureImpl.get(CordaFutureImpl.kt)
at cordite.CorditeTestsKt$main$1.invoke(CorditeTests.kt:19)
at cordite.CorditeTestsKt$main$1.invoke(CorditeTests.kt)
at net.corda.testing.node.internal.DriverDSLImplKt.genericDriver(DriverDSLImpl.kt:966)
at net.corda.testing.driver.Driver.driver(Driver.kt:186)
at net.corda.testing.driver.Driver.driver$default(Driver.kt:185)
at cordite.CorditeTestsKt.main(CorditeTests.kt:12)
Caused by: java.lang.IllegalStateException: A transaction must contain at least one input or output state