diff --git a/core/src/main/kotlin/net/corda/core/serialization/Kryo.kt b/core/src/main/kotlin/net/corda/core/serialization/Kryo.kt index cc17fb4145..98f49c8436 100644 --- a/core/src/main/kotlin/net/corda/core/serialization/Kryo.kt +++ b/core/src/main/kotlin/net/corda/core/serialization/Kryo.kt @@ -445,7 +445,7 @@ var Kryo.attachmentStorage: AttachmentStorage? //Used in Merkle tree calculation. It doesn't cover all the cases of unstable serialization format. fun extendKryoHash(kryo: Kryo): Kryo { return kryo.apply { - noReferencesWithin>() + setReferences(false) register(LinkedHashMap::class.java, MapSerializer()) register(HashMap::class.java, OrderedSerializer) }