From 0f43a88b19484840701d3d1be0c655bc04f157c3 Mon Sep 17 00:00:00 2001 From: Thomas Schroeter Date: Fri, 6 Jan 2017 09:09:27 +0000 Subject: [PATCH] Add TODO to move duplicate input detection to TransactionType.verify Resolving the TODO in a follow-up PR. --- core/src/main/kotlin/net/corda/flows/NotaryFlow.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/kotlin/net/corda/flows/NotaryFlow.kt b/core/src/main/kotlin/net/corda/flows/NotaryFlow.kt index ec0f642dda..52e6468215 100644 --- a/core/src/main/kotlin/net/corda/flows/NotaryFlow.kt +++ b/core/src/main/kotlin/net/corda/flows/NotaryFlow.kt @@ -101,6 +101,7 @@ object NotaryFlow { val result = try { validateTimestamp(wtx) + // TODO: Move the duplicate input detection to `TransactionType.verify()`. detectDuplicateInputs(wtx) beforeCommit(stx) commitInputStates(wtx)