From 6490638ee4011078a4c78d3217241ac847df8511 Mon Sep 17 00:00:00 2001 From: Andrius Dagys Date: Mon, 31 Jul 2017 12:53:11 +0100 Subject: [PATCH] =?UTF-8?q?Remove=20availableComponents=20override=20from?= =?UTF-8?q?=20WireTransaction=20=E2=80=93=20the=20overridden=20version=20e?= =?UTF-8?q?xcludes=20privacy=20salt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/kotlin/net/corda/core/transactions/WireTransaction.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/src/main/kotlin/net/corda/core/transactions/WireTransaction.kt b/core/src/main/kotlin/net/corda/core/transactions/WireTransaction.kt index f6ca5b8e37..85415adae5 100644 --- a/core/src/main/kotlin/net/corda/core/transactions/WireTransaction.kt +++ b/core/src/main/kotlin/net/corda/core/transactions/WireTransaction.kt @@ -38,9 +38,6 @@ data class WireTransaction( /** The transaction id is represented by the root hash of Merkle tree over the transaction components. */ override val id: SecureHash get() = merkleTree.hash - override val availableComponents: List - get() = listOf(inputs, attachments, outputs, commands).flatten() + listOf(notary, timeWindow).filterNotNull() - /** Public keys that need to be fulfilled by signatures in order for the transaction to be valid. */ val requiredSigningKeys: Set get() { val commandKeys = commands.flatMap { it.signers }.toSet()