Expose `ChannelMonitor::get_counterparty_node_id` 2022-07-accessor-pub
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:53:47 +0000 (03:53 +0000)
commit75b111291faf931f4a203e1d75d2c8ed8b6eb7dd
treead64594dbb9b978fe7c2b42c6755dc08a3fb0d3e
parent36bffb56e8b738ca5ccb7056594e956fddc02573
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