Skip to content

Commit

Permalink
Revert "better return from start_rmc"
Browse files Browse the repository at this point in the history
This reverts commit 2ab3bf8.
  • Loading branch information
woocash2 committed Oct 11, 2023
1 parent 5c72baa commit 31d039d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rmc/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@ 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(
multisigned.clone().into_unchecked(),
));
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
Expand Down

0 comments on commit 31d039d

Please sign in to comment.