Base types and changes required for the Contract Constraints work.

This commit is contained in:
Clinton Alexander
2017-09-22 16:56:23 +01:00
committed by Mike Hearn
parent 05e94e7425
commit 0de6994ef5
7 changed files with 54 additions and 3 deletions

View File

@ -0,0 +1,8 @@
package net.corda.nodeapi.internal.serialization
import net.corda.core.crypto.sha256
import net.corda.core.internal.AbstractAttachment
class GeneratedAttachment(bytes: ByteArray) : AbstractAttachment({ bytes }) {
override val id = bytes.sha256()
}