Skip to content

Commit e94f7cf

Browse files
committed
Move PaymentId to a [u8; 32] in bindings as for other hash objects
This should allow us to fix lightningdevkit/ldk-garbagecollected#52
1 parent c53048a commit e94f7cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ struct ClaimableHTLC {
173173
}
174174

175175
/// A payment identifier used to uniquely identify a payment to LDK.
176+
/// (C-not exported) as we just use [u8; 32] directly
176177
#[derive(Hash, Copy, Clone, PartialEq, Eq, Debug)]
177178
pub struct PaymentId(pub [u8; 32]);
178179

0 commit comments

Comments
 (0)