mirror of
https://github.com/corda/corda.git
synced 2025-06-17 14:48:16 +00:00
[CORDA-2851] - Fix the way serialization whitelist is calculated for CordappImpl (#4743)
This commit is contained in:
committed by
Shams Asari
parent
e61a8424da
commit
a38891fc44
@ -41,7 +41,7 @@ data class CordappImpl(
|
||||
|
||||
// TODO: Also add [SchedulableFlow] as a Cordapp class
|
||||
override val cordappClasses: List<String> = run {
|
||||
val classList = rpcFlows + initiatedFlows + services + serializationWhitelists.map { javaClass } + notaryService
|
||||
val classList = rpcFlows + initiatedFlows + services + serializationWhitelists.flatMap { it.whitelist } + notaryService
|
||||
classList.mapNotNull { it?.name } + contractClassNames + explicitCordappClasses
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user