NOTICK - Remove unused code (#6694)

This commit is contained in:
Kyriakos Tharrouniatis 2020-09-15 13:53:57 +01:00 committed by GitHub
parent 6829be7ae9
commit 342041c737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,7 +247,6 @@ class DBTransactionStorage(private val database: CordaPersistence, cacheFactory:
txStorage.locked {
val existingTransaction = getTransaction(id)
if (existingTransaction == null) {
updates.filter { it.id == id }.toFuture()
updateFuture
} else {
updateFuture.cancel(false)