Fix the RAFT notary demo, previously only 1 of the notaries was being used. (#619)

This commit is contained in:
Andrzej Cichocki 2017-05-03 10:46:27 +01:00 committed by GitHub
parent d65d63e4f6
commit 27d06df941

View File

@ -56,9 +56,9 @@ publishing {
task generateNotaryIdentity(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = "net.corda.node.utilities.ServiceIdentityGeneratorKt"
def nodeDirs = ["$deployTo/CN=Notary 1,O=R3,OU=corda,L=London,C=UK",
"$deployTo/CN=Notary 2,O=R3,OU=corda,L=London,C=UK",
"$deployTo/CN=Notary 3,O=R3,OU=corda,L=London,C=UK"].join("|")
def nodeDirs = ["$deployTo/Notary1",
"$deployTo/Notary2",
"$deployTo/Notary3"].join("|")
args = [nodeDirs, notaryType, notaryName]
}