]> git.bitcoin.ninja Git - ldk-java/commit
[Java] Fix P2P graph sync when enabled in ChannelManagerConstructor
authorMatt Corallo <git@bluematt.me>
Wed, 31 May 2023 23:06:02 +0000 (23:06 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 1 Jun 2023 20:23:10 +0000 (20:23 +0000)
commit0e1f0fbe3972a97b304ab19fdc7a644bf2aa5f44
tree8eef0b5ddcad6865a972ee8a6f254078f8db09a8
parent62a998f382b7329b36debb861534e2281f3fc235
[Java] Fix P2P graph sync when enabled in ChannelManagerConstructor

It turns out we were always using the `IgnoringMessageHandler` when
initializing our `PeerManager`, ignoring all P2P graph sync
messages even if `use_p2p_graph_sync` was set.
src/main/java/org/ldk/batteries/ChannelManagerConstructor.java