From b050411810bf008db6a3e6eb9493d3754535cd64 Mon Sep 17 00:00:00 2001 From: Clinton Alexander Date: Mon, 6 Jun 2016 16:13:34 +0100 Subject: [PATCH] Fixed compile error in IRSDemo and updated demo data to match new format. --- src/main/kotlin/com/r3corda/demos/IRSDemo.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/r3corda/demos/IRSDemo.kt b/src/main/kotlin/com/r3corda/demos/IRSDemo.kt index 430b4dc611..10dde98431 100644 --- a/src/main/kotlin/com/r3corda/demos/IRSDemo.kt +++ b/src/main/kotlin/com/r3corda/demos/IRSDemo.kt @@ -277,7 +277,7 @@ private fun runNode(nodeParams : NodeParams, useInMemoryMessaging: Boolean) : Un } } -private fun runUploadRates(host) { +private fun runUploadRates(host: String) { val fileContents = IOUtils.toString(NodeParams::class.java.getResource("example.rates.txt")) var timer : Timer? = null timer = fixedRateTimer("upload-rates", false, 0, 5000, {