From d0bc6c301a4a59120353743cffac393339f4ca12 Mon Sep 17 00:00:00 2001 From: Yuntai Kyong Date: Tue, 27 Nov 2018 01:23:29 +0900 Subject: [PATCH] Implements get_session_key for full_stack_target --- fuzz/fuzz_targets/full_stack_target.rs | 4 ++++ 1 file changed, 4 insertions(+) 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] -- 2.39.5