]> 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)
committerMatt Corallo <git@bluematt.me>
Mon, 14 Oct 2024 17:28:36 +0000 (17:28 +0000)
commita675d48cd4bb2c697ffb3be3c9f6103dd5ded5f1
treefa3f40312f070061291b81de44cb2624911e8f34
parentacfc6d9364519706d7636ab95b908d120c27bd2a
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