]> 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>
Thu, 16 Jun 2022 20:02:35 +0000 (20:02 +0000)
commit42812778f81aea6f53a99d397b96bfba29290356
tree6928b8fe9439150a7045d1296f7885496a1c7041
parentedd26f00c67fe20278b04ff8cc29367e2186d0f1
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