We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are some useful functions in the test code that allow you to write more readable code
e.g. val signedTx = banks.startFlow(flow).runAndGet(network)
val signedTx = banks.startFlow(flow).runAndGet(network)
https://github.com/corda/accounts/blob/master/workflows/src/test/kotlin/com/r3/corda/lib/accounts/workflows/test/TestUtils.kt
And others like
fun StartedMockNode.accountService(): AccountService { return this.services.cordaService(KeyManagementBackedAccountService::class.java) }
So you can do:
banks = network.createPartyNode(legalName = CordaX500Name("Banks Node", "London", "GB")) val banksAccountService = banks.accountService()
These would be useful if moved outside of the test code of this module and higher up into Corda Core to make all Corda code easier to read.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There are some useful functions in the test code that allow you to write more readable code
e.g.
val signedTx = banks.startFlow(flow).runAndGet(network)
https://github.com/corda/accounts/blob/master/workflows/src/test/kotlin/com/r3/corda/lib/accounts/workflows/test/TestUtils.kt
And others like
So you can do:
These would be useful if moved outside of the test code of this module and higher up into Corda Core to make all Corda code easier to read.
The text was updated successfully, but these errors were encountered: