]> 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>
Tue, 23 Jan 2024 19:55:39 +0000 (19:55 +0000)
commitcfa4dde5b08a3dba981c81730cf4adc38e40dd12
tree08c3c8dc983f190b3bbfe6e456d2ac1ffe9ebe1a
parent684f1099d4208e93a55cf91f8e1e3cd2af967b15
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