mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
CORDA-267: Set a default name of Notary for the first node. (#417)
This commit is contained in:
parent
660e570b48
commit
e1bfa6c655
@ -22,7 +22,7 @@ class NodeTabView : Fragment() {
|
||||
private companion object : Component() {
|
||||
const val textWidth = 200.0
|
||||
const val numberWidth = 100.0
|
||||
const val maxNameLength = 10
|
||||
const val maxNameLength = 15
|
||||
|
||||
val integerFormat = DecimalFormat()
|
||||
val notNumber = "[^\\d]".toRegex()
|
||||
@ -115,6 +115,7 @@ class NodeTabView : Fragment() {
|
||||
root.add(nodeConfigView)
|
||||
root.add(nodeTerminalView)
|
||||
|
||||
model.legalName.value = if (nodeController.hasNetworkMap()) "" else "Notary"
|
||||
model.p2pPort.value = nodeController.nextPort
|
||||
model.rpcPort.value = nodeController.nextPort
|
||||
model.webPort.value = nodeController.nextPort
|
||||
|
Loading…
Reference in New Issue
Block a user