projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b9c520
)
Move `ClaimId` to `[u8; 32]` in bindings.
author
Matt Corallo
<git@bluematt.me>
Wed, 19 Jul 2023 20:01:01 +0000
(20:01 +0000)
committer
Matt 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
patch
|
blob
|
history
diff --git
a/lightning/src/chain/mod.rs
b/lightning/src/chain/mod.rs
index a32bcb29901fc1182c21b8e3e02ce9c6f92b3bb7..236b10a7b19d1288b5d74f784d066c2a8bacc169 100644
(file)
--- 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]);