From a5edcdc0b38f181543f8e5cc7af2590f8700b18d Mon Sep 17 00:00:00 2001 From: Hansie Odendaal Date: Thu, 7 Nov 2024 12:28:32 +0200 Subject: [PATCH] remove receiver_mut from Watch --- base_layer/wallet/src/util/watch.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/base_layer/wallet/src/util/watch.rs b/base_layer/wallet/src/util/watch.rs index 3277713969..7482b27737 100644 --- a/base_layer/wallet/src/util/watch.rs +++ b/base_layer/wallet/src/util/watch.rs @@ -55,10 +55,6 @@ impl Watch { &self.1 } - fn receiver_mut(&mut self) -> &mut watch::Receiver { - &mut self.1 - } - pub fn get_receiver(&self) -> watch::Receiver { self.receiver().clone() }