mirror of
https://github.com/corda/corda.git
synced 2025-02-20 17:33:15 +00:00
Add test1 user to the demo node start up
This commit is contained in:
parent
99e3e5d754
commit
1d8569303e
@ -43,9 +43,7 @@ class Main : App() {
|
||||
fun main(args: Array<String>) {
|
||||
val portAllocation = PortAllocation.Incremental(20000)
|
||||
driver(portAllocation = portAllocation) {
|
||||
|
||||
val user = User("user1", "test", permissions = setOf(CordaRPCOpsImpl.CASH_PERMISSION))
|
||||
|
||||
val notary = startNode("Notary", advertisedServices = setOf(ServiceInfo(SimpleNotaryService.type)))
|
||||
val alice = startNode("Alice", rpcUsers = arrayListOf(user))
|
||||
val bob = startNode("Bob", rpcUsers = arrayListOf(user))
|
||||
|
Loading…
x
Reference in New Issue
Block a user