Comment out unused code for now (uncompilable due to breaking open source code change)

This commit is contained in:
josecoll 2017-11-18 11:43:26 +00:00
parent ea1cd0035a
commit 70681cdcc7

View File

@ -22,10 +22,11 @@ private class KryoVerifierSerializationScheme : AbstractKryoSerializationScheme(
*/
private companion object {
init {
SerializationDefaults.SERIALIZATION_FACTORY = SerializationFactoryImpl().apply {
registerScheme(KryoVerifierSerializationScheme())
}
SerializationDefaults.P2P_CONTEXT = KRYO_P2P_CONTEXT
// TODO: SerializationDefaults are now global singletons. Revisit this initialisation block.
// SerializationDefaults.SERIALIZATION_FACTORY = SerializationFactoryImpl().apply {
// registerScheme(KryoVerifierSerializationScheme())
// }
// SerializationDefaults.P2P_CONTEXT = KRYO_P2P_CONTEXT
}
}
}