]> git.bitcoin.ninja Git - rust-lightning/commit
Restrict ChannelInfo::as_directed_from visibility
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 29 Mar 2022 15:20:39 +0000 (10:20 -0500)
committerMatt Corallo <git@bluematt.me>
Wed, 26 Apr 2023 17:38:04 +0000 (17:38 +0000)
commit2a3546fb09a258806a9802b25c452edc90fc3680
tree7f397f22bf2328224f488a6f0d622c002c2c09ba
parent969e23019155409b5beefe3f48994047dfad692c
Restrict ChannelInfo::as_directed_from visibility

Bindings can't handle references in return types, so reduce the
visibility to pub(crate).
lightning/src/routing/gossip.rs