Move `ClaimId` to `[u8; 32]` in bindings.
authorMatt Corallo <git@bluematt.me>
Wed, 19 Jul 2023 20:01:01 +0000 (20:01 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 20 Jul 2023 21:43:52 +0000 (21:43 +0000)
This matches what we've done for other `[u8; 32]` newtypes.

lightning/src/chain/mod.rs

index a32bcb29901fc1182c21b8e3e02ce9c6f92b3bb7..236b10a7b19d1288b5d74f784d066c2a8bacc169 100644 (file)
@@ -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]);