Skip to content

Commit

Permalink
Salt inbound payment ExpandedKey
Browse files Browse the repository at this point in the history
Leftover feedback from lightningdevkit#1177
  • Loading branch information
valentinewallace committed Dec 17, 2021
1 parent 86d5944 commit 6e0820c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/ln/channelmanager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ mod inbound_payment {

impl ExpandedKey {
pub(super) fn new(key_material: &KeyMaterial) -> ExpandedKey {
hkdf_extract_expand(&vec![0], &key_material)
hkdf_extract_expand(b"LDK Inbound Payment Key Expansion", &key_material)
}
}

Expand Down

0 comments on commit 6e0820c

Please sign in to comment.