]> git.bitcoin.ninja Git - rust-lightning/commit
Fix `synchronize_listeners` calling default implementation
authorElias Rohrer <dev@tnull.de>
Thu, 10 Oct 2024 15:16:18 +0000 (17:16 +0200)
committerElias Rohrer <dev@tnull.de>
Thu, 10 Oct 2024 15:16:18 +0000 (17:16 +0200)
commitf4fe4509218dcd2f1e757d31daef3e7af3926882
treeceecb53d97c66c2ad03f860a499378b772c53589
parenta952d2d3d3bf70f9ddca46184a2fcbcab69aaa33
Fix `synchronize_listeners` calling default implementation

Previously, the `ChainListenerSet` `Listen` implementation wouldn't
forward to the listeners `block_connected` implementation outside of
tests. This would result in the default implementation of
`Listen::block_connected` being used and the listeners implementation
never being called.
lightning-block-sync/src/init.rs