Skip to content

Commit 27cc3cc

Browse files
committed
Export ChannelId in bindings rather than [u8; 32]
Now that `ChannelId` has useful constructors and methods we need to start exposing it to bindings users rather than relying on using `[u8; 32]`.
1 parent 79a4a1a commit 27cc3cc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lightning/src/ln/types.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ use core::ops::Deref;
3535
/// A _temporary_ ID is generated randomly.
3636
/// (Later revocation-point-based _v2_ is a possibility.)
3737
/// The variety (context) is not stored, it is relevant only at creation.
38-
///
39-
/// This is not exported to bindings users as we just use [u8; 32] directly.
4038
#[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
4139
pub struct ChannelId(pub [u8; 32]);
4240

0 commit comments

Comments
 (0)