From: Valentine Wallace Date: Fri, 17 Dec 2021 00:24:24 +0000 (-0800) Subject: Salt inbound payment ExpandedKey X-Git-Tag: v0.0.104~1^2~3 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=6e0820ca197d8e318ad74ad959b17f70889434be;p=rust-lightning Salt inbound payment ExpandedKey Leftover feedback from #1177 --- diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index 1bbd4a1ba..612d2df0c 100644 --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@ -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) } }