Fix startErrorFlowSimulation (#222)

This commit is contained in:
Katarzyna Streich 2017-12-20 10:02:03 +00:00 committed by josecoll
parent 762d7b7275
commit 8d48083ddf

View File

@ -185,6 +185,7 @@ class ExplorerSimulation(private val options: OptionSet) {
private fun startErrorFlowsSimulation() { private fun startErrorFlowsSimulation() {
println("Running flows with errors simulation mode ...") println("Running flows with errors simulation mode ...")
setUpRPC() setUpRPC()
notary = aliceNode.rpc.notaryIdentities().first()
val eventGenerator = ErrorFlowsEventGenerator( val eventGenerator = ErrorFlowsEventGenerator(
parties = parties.map { it.first }, parties = parties.map { it.first },
notary = notary, notary = notary,