mirror of
https://github.com/corda/corda.git
synced 2025-02-05 02:29:20 +00:00
Update the node for the latest DJVM API, and preserve the ConstructorForDeserialization annotation on user contract classes.
This commit is contained in:
parent
df7415538c
commit
6ddbe877f7
@ -27,9 +27,7 @@ import net.corda.core.messaging.*
|
||||
import net.corda.core.node.*
|
||||
import net.corda.core.node.services.*
|
||||
import net.corda.core.schemas.MappedSchema
|
||||
import net.corda.core.serialization.SerializationWhitelist
|
||||
import net.corda.core.serialization.SerializeAsToken
|
||||
import net.corda.core.serialization.SingletonSerializeAsToken
|
||||
import net.corda.core.serialization.*
|
||||
import net.corda.core.transactions.LedgerTransaction
|
||||
import net.corda.core.utilities.NetworkHostAndPort
|
||||
import net.corda.core.utilities.days
|
||||
@ -1097,7 +1095,14 @@ abstract class AbstractNode<S>(val configuration: NodeConfiguration,
|
||||
userSource = cordaSource,
|
||||
whitelist = Whitelist.MINIMAL,
|
||||
bootstrapSource = djvmBootstrapSource
|
||||
).createChild(UserPathSource(userSource), null)
|
||||
).createChild(
|
||||
userSource = UserPathSource(userSource),
|
||||
newMinimumSeverityLevel = null,
|
||||
visibleAnnotations = setOf(
|
||||
CordaSerializable::class.java,
|
||||
ConstructorForDeserialization::class.java
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user