Remove unused timestamp from LCApplication

This commit is contained in:
Ross Nicoll 2016-08-12 13:51:16 +01:00
parent a3d37a4d00
commit 8cfc88ed3a

View File

@ -30,12 +30,6 @@ class LCApplication : Contract {
val inputs = tx.inputs.filterIsInstance<State>()
val outputs = tx.outputs.filterIsInstance<State>()
// 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<Commands.ApplyForLC>, tx)