mirror of
https://github.com/corda/corda.git
synced 2025-06-23 17:53:31 +00:00
CORDA-2595 - check that all attachments are trusted before loading (#4763)
CORDA-2595 - Fix test and api. CORDA-2595 add test CORDA-2595 fix tests CORDA-2595 fix test and address code review comments CORDA-2595 address code review comments
This commit is contained in:
committed by
Tommy Lillehagen
parent
37f9eb31f7
commit
3d362e066c
@ -86,7 +86,7 @@ class JacksonSupportTest(@Suppress("unused") private val name: String, factory:
|
||||
|
||||
@Before
|
||||
fun setup() {
|
||||
val unsignedAttachment = object : AbstractAttachment({ byteArrayOf() }) {
|
||||
val unsignedAttachment = object : AbstractAttachment({ byteArrayOf() }, "test") {
|
||||
override val id: SecureHash get() = throw UnsupportedOperationException()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user