CORDA-1861: Remove default value to make createUnstartedNode() unambiguous. (#3729)

This commit is contained in:
Chris Rankin 2018-07-31 17:10:07 +01:00 committed by GitHub
parent dfafdbcb9f
commit b7f7dcc510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -411,7 +411,7 @@ open class MockNetwork(
forcedID: Int? = null,
entropyRoot: BigInteger = BigInteger.valueOf(random63BitValue()),
configOverrides: (NodeConfiguration) -> Any? = {},
additionalCordapps: Set<TestCorDapp> = emptySet()): UnstartedMockNode {
additionalCordapps: Set<TestCorDapp>): UnstartedMockNode {
val parameters = MockNodeParameters(forcedID, legalName, entropyRoot, configOverrides, additionalCordapps)
return UnstartedMockNode.create(internalMockNetwork.createUnstartedNode(InternalMockNodeParameters(parameters)))
}