Skip to content

Commit

Permalink
Make cluster serialization support unknown messages (#2938)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pm47 authored Nov 8, 2024
1 parent f4efd64 commit f02c98b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit f02c98b

Please sign in to comment.