From 6e0820ca197d8e318ad74ad959b17f70889434be Mon Sep 17 00:00:00 2001 From: Valentine Wallace Date: Thu, 16 Dec 2021 16:24:24 -0800 Subject: [PATCH] Salt inbound payment ExpandedKey Leftover feedback from #1177 --- lightning/src/ln/channelmanager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } } -- 2.39.5