Fixed compile error in IRSDemo and updated demo data to match new format.

This commit is contained in:
Clinton Alexander 2016-06-06 16:13:34 +01:00 committed by Andras Slemmer
parent 5de855e045
commit b050411810

View File

@ -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, {