1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-19 01:43:22 +01:00

Make cluster serialization support unknown messages (#2938)

The codec that we were using to serialize `LightningMessage`s in the eclair cluster didn't support `UnknownMessage`. This resulted in those messages being dropped by the front and never reaching the backend node.
This commit is contained in:
Pierre-Marie Padiou 2024-11-08 16:23:54 +01:00 committed by GitHub
parent f4efd64ae5
commit f02c98b3b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,6 +16,6 @@
package fr.acinq.eclair.remote
import fr.acinq.eclair.wire.protocol.LightningMessageCodecs.lightningMessageCodec
import fr.acinq.eclair.wire.protocol.LightningMessageCodecs.lightningMessageCodecWithFallback
class LightningMessageSerializer extends ScodecSerializer(42, lightningMessageCodec)
class LightningMessageSerializer extends ScodecSerializer(42, lightningMessageCodecWithFallback)