mirror of
https://github.com/corda/corda.git
synced 2025-04-07 11:27:01 +00:00
node: Small cleanup
This commit is contained in:
parent
d195d6f69d
commit
51e86e7cd3
@ -355,8 +355,7 @@ open class DriverDSL(
|
||||
val name = arrayOf(
|
||||
"Alice",
|
||||
"Bob",
|
||||
"EvilBank",
|
||||
"NotSoEvilBank"
|
||||
"Bank"
|
||||
)
|
||||
fun <A> pickA(array: Array<A>): A = array[Math.abs(Random().nextInt()) % array.size]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user