Skip to content

Commit e73ab1b

Browse files
Make attestation participants distinct.
1 parent e650230 commit e73ab1b

File tree

1 file changed

+1
-1
lines changed
  • onixlabs-corda-identity-framework-contract/src/main/kotlin/io/onixlabs/corda/identityframework/contract/attestations

1 file changed

+1
-1
lines changed

onixlabs-corda-identity-framework-contract/src/main/kotlin/io/onixlabs/corda/identityframework/contract/attestations/Attestation.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ open class Attestation<T : ContractState>(
6565
get() = SecureHash.sha256("$attestor$pointer$previousStateRef")
6666

6767
override val participants: List<AbstractParty>
68-
get() = (attestees + attestor).toList()
68+
get() = (attestees + attestor).distinct()
6969

7070
/**
7171
* Amends this attestation.

0 commit comments

Comments
 (0)