Expose `ChannelMonitor::get_counterparty_node_id` 2022-07-accessor-pub-bindings
authorMatt Corallo <git@bluematt.me>
Wed, 27 Jul 2022 03:53:47 +0000 (03:53 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 27 Jul 2022 03:55:24 +0000 (03:55 +0000)
commite87762b652fc41d0986eb0693a2ef4b7ba8209ff
treea84a67a09ef095a048cf990980d48d87080c0c14
parentf2aaf4ae60ed0e378acebf933fd07bfccb0ff94a
Expose `ChannelMonitor::get_counterparty_node_id`

This fixes an oversight in ac842ed9dd7a36a4a26eb6b856d80ab04eecf750
namely that it left users unable to implement their own
`ChainMonitor` from outside of the `rust-lightning` crate.
lightning/src/chain/channelmonitor.rs