mirror of
https://github.com/corda/corda.git
synced 2025-03-15 16:46:12 +00:00
Fix multiple address failure on node startup
This commit is contained in:
parent
d58489939b
commit
1ca5d03cd2
@ -268,7 +268,7 @@ open class Node(configuration: NodeConfiguration,
|
||||
network.start(
|
||||
myIdentity = nodeInfo.legalIdentities[0].owningKey,
|
||||
serviceIdentity = if (nodeInfo.legalIdentities.size == 1) null else nodeInfo.legalIdentities[1].owningKey,
|
||||
advertisedAddress = nodeInfo.addresses.single(),
|
||||
advertisedAddress = nodeInfo.addresses[0],
|
||||
maxMessageSize = networkParameters.maxMessageSize,
|
||||
legalName = nodeInfo.legalIdentities[0].name.toString()
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user