From 2530ec69996d4c842f593fc2befceaf548047cff Mon Sep 17 00:00:00 2001 From: Orbital Date: Fri, 8 Dec 2023 21:56:48 -0600 Subject: [PATCH] Add Default impl for MessengerUtilities to appease clippy --- src/onion_messenger.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/onion_messenger.rs b/src/onion_messenger.rs index 31db5b72..eecefbb5 100644 --- a/src/onion_messenger.rs +++ b/src/onion_messenger.rs @@ -66,6 +66,12 @@ impl MessengerUtilities { } } +impl Default for MessengerUtilities { + fn default() -> Self { + Self::new() + } +} + impl EntropySource for MessengerUtilities { // TODO: surface LDK's EntropySource and use instead. fn get_secure_random_bytes(&self) -> [u8; 32] {