From 2cbf86936f7398e7fb15bed4f901774d7d795232 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sat, 11 May 2024 16:16:12 +0000 Subject: [PATCH] [UPSTREAM] 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]`. --- lightning/src/ln/types.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/lightning/src/ln/types.rs b/lightning/src/ln/types.rs index 14774fb5e..5966b3711 100644 --- a/lightning/src/ln/types.rs +++ b/lightning/src/ln/types.rs @@ -35,8 +35,6 @@ use core::ops::Deref; /// A _temporary_ ID is generated randomly. /// (Later revocation-point-based _v2_ is a possibility.) /// The variety (context) is not stored, it is relevant only at creation. -/// -/// This is not exported to bindings users as we just use [u8; 32] directly. #[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)] pub struct ChannelId(pub [u8; 32]); -- 2.39.5