From 31d039deff5aeb9c12849a713aff9a9adf7f2b66 Mon Sep 17 00:00:00 2001 From: Lukasz Gniecki Date: Wed, 11 Oct 2023 16:56:00 +0200 Subject: [PATCH] Revert "better return from start_rmc" This reverts commit 2ab3bf86be22b6b255c5e404754dad942ac300de. --- rmc/src/service.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rmc/src/service.rs b/rmc/src/service.rs index d372bf93..4c4fcb0e 100644 --- a/rmc/src/service.rs +++ b/rmc/src/service.rs @@ -60,7 +60,6 @@ where OnStartRmcResponse::SignedHash(signed_hash) => { self.scheduler .add_task(Message::SignedHash(signed_hash.into_unchecked())); - None } OnStartRmcResponse::MultisignedHash(multisigned) => { self.scheduler.add_task(Message::MultisignedHash( @@ -68,8 +67,9 @@ where )); return Some(multisigned); } - OnStartRmcResponse::Noop => None, + OnStartRmcResponse::Noop => {} } + None } /// Processes a message which can be of two types. If the message is a hash signed by one