mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
Base types and changes required for the Contract Constraints work.
This commit is contained in:
committed by
Mike Hearn
parent
05e94e7425
commit
0de6994ef5
@ -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()
|
||||
}
|
Reference in New Issue
Block a user