corda / net.corda.core.contracts / AlwaysAcceptAttachmentConstraint

AlwaysAcceptAttachmentConstraint

object AlwaysAcceptAttachmentConstraint : AttachmentConstraint

An AttachmentConstraint where isSatisfiedBy always returns true.

Functions

isSatisfiedBy

Returns whether the given contract attachment can be used with the ContractState associated with this constraint object.

fun isSatisfiedBy(attachment: Attachment): Boolean