From 8cfc88ed3a7abc745bac6069a4e4a8b3afa5f0e5 Mon Sep 17 00:00:00 2001 From: Ross Nicoll Date: Fri, 12 Aug 2016 13:51:16 +0100 Subject: [PATCH] Remove unused timestamp from LCApplication --- .../src/main/kotlin/com/r3corda/contracts/LCApplication.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/experimental/src/main/kotlin/com/r3corda/contracts/LCApplication.kt b/experimental/src/main/kotlin/com/r3corda/contracts/LCApplication.kt index d825709b86..079f86c66c 100644 --- a/experimental/src/main/kotlin/com/r3corda/contracts/LCApplication.kt +++ b/experimental/src/main/kotlin/com/r3corda/contracts/LCApplication.kt @@ -30,12 +30,6 @@ class LCApplication : Contract { val inputs = tx.inputs.filterIsInstance() val outputs = tx.outputs.filterIsInstance() - // Here, we match acceptable timestamp authorities by name. The list of acceptable TSAs (oracles) must be - // hard coded into the contract because otherwise we could fail to gain consensus, if nodes disagree about - // who or what is a trusted authority. - // FIXME: This isn't used anywhere - tx.timestamp - when (command.value) { is Commands.ApplyForLC -> { verifyApply(inputs, outputs, command as AuthenticatedObject, tx)