mirror of
https://github.com/corda/corda.git
synced 2025-03-22 03:55:26 +00:00
Remove availableComponents override from WireTransaction – the overridden version excludes privacy salt
This commit is contained in:
parent
4ca8b8d681
commit
6490638ee4
@ -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<Any>
|
||||
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<PublicKey> get() {
|
||||
val commandKeys = commands.flatMap { it.signers }.toSet()
|
||||
|
Loading…
x
Reference in New Issue
Block a user