Skip to content

Commit 5643873

Browse files
committed
fixup: Add method to derive Peer Storage encryption key
1 parent c0e5008 commit 5643873

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/sign/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ pub trait ChannelSigner {
795795
}
796796

797797
/// Represents Secret Key used for encrypting Peer Storage.
798-
#[derive(Clone, PartialEq, Eq)]
798+
#[derive(Clone, Copy, PartialEq, Eq)]
799799
pub struct PeerStorageKey {
800800
/// Represents the key used to encrypt and decrypt Peer Storage.
801801
pub inner: [u8; 32],

0 commit comments

Comments
 (0)