From: Matt Corallo Date: Wed, 19 Jul 2023 20:01:01 +0000 (+0000) Subject: Move `ClaimId` to `[u8; 32]` in bindings. X-Git-Tag: v0.0.116~3^2~7 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=97a6246b6fb4fc465ad473531ac4111d396a12fb;p=rust-lightning Move `ClaimId` to `[u8; 32]` in bindings. This matches what we've done for other `[u8; 32]` newtypes. --- diff --git a/lightning/src/chain/mod.rs b/lightning/src/chain/mod.rs index a32bcb299..236b10a7b 100644 --- a/lightning/src/chain/mod.rs +++ b/lightning/src/chain/mod.rs @@ -391,5 +391,7 @@ where } /// A unique identifier to track each pending output claim within a [`ChannelMonitor`]. +/// +/// This is not exported to bindings users as we just use [u8; 32] directly. #[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)] pub struct ClaimId(pub [u8; 32]);