From: Yuntai Kyong Date: Mon, 26 Nov 2018 16:23:29 +0000 (+0900) Subject: Implements get_session_key for full_stack_target X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=d0bc6c301a4a59120353743cffac393339f4ca12;p=rust-lightning Implements get_session_key for full_stack_target --- diff --git a/fuzz/fuzz_targets/full_stack_target.rs b/fuzz/fuzz_targets/full_stack_target.rs index 3b277906b..199307cc8 100644 --- a/fuzz/fuzz_targets/full_stack_target.rs +++ b/fuzz/fuzz_targets/full_stack_target.rs @@ -265,6 +265,10 @@ impl KeysInterface for KeyProvider { } } } + + fn get_session_key(&self) -> SecretKey { + SecretKey::from_slice(&Secp256k1::without_caps(), &[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]).unwrap() + } } #[inline]