projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c53048a
)
Move PaymentId to a [u8; 32] in bindings as for other hash objects
author
Matt Corallo
<git@bluematt.me>
Tue, 26 Oct 2021 21:38:46 +0000
(21:38 +0000)
committer
Matt Corallo
<git@bluematt.me>
Sat, 30 Oct 2021 01:53:19 +0000
(
01:53
+0000)
This should allow us to fix
https://github.com/lightningdevkit/ldk-garbagecollected/issues/52
lightning/src/ln/channelmanager.rs
patch
|
blob
|
history
diff --git
a/lightning/src/ln/channelmanager.rs
b/lightning/src/ln/channelmanager.rs
index 698ef1a975a965626af085c2d9edba3fd74811c7..53d332be01c812f04638b39df9d5f9dd98888e13 100644
(file)
--- a/
lightning/src/ln/channelmanager.rs
+++ b/
lightning/src/ln/channelmanager.rs
@@
-173,6
+173,7
@@
struct ClaimableHTLC {
}
/// A payment identifier used to uniquely identify a payment to LDK.
+/// (C-not exported) as we just use [u8; 32] directly
#[derive(Hash, Copy, Clone, PartialEq, Eq, Debug)]
pub struct PaymentId(pub [u8; 32]);